data.js (1429B)
1 /** 2 * @license Apache-2.0 3 * 4 * Copyright (c) 2020 The Stdlib Authors. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 19 /* eslint-disable stdlib/capitalized-comments */ 20 21 'use strict'; 22 23 // MODULES // 24 25 var rsqrt = require( './../../../../base/special/rsqrt' ); 26 var rsqrtf = require( './../../../../base/special/rsqrtf' ); 27 28 29 // MAIN // 30 31 var data = [ 32 // NOTE: the following **must** match the order in `./types.json`. The order should be according to likelihood of use (e.g., if `float64` arrays are more likely, then `float64` types/data should come before `uint8`). 33 34 // float64 35 rsqrt, 36 rsqrt, 37 38 // float32 39 rsqrtf, 40 rsqrt, 41 rsqrt, 42 43 // generic 44 rsqrt, 45 46 // int32 47 rsqrt, 48 rsqrt, 49 50 // int16 51 rsqrtf, 52 rsqrt, 53 rsqrt, 54 55 // int8 56 rsqrtf, 57 rsqrt, 58 rsqrt, 59 60 // uint32 61 rsqrt, 62 rsqrt, 63 64 // uint16 65 rsqrtf, 66 rsqrt, 67 rsqrt, 68 69 // uint8 70 rsqrtf, 71 rsqrt, 72 rsqrt, 73 74 // uint8c 75 rsqrtf, 76 rsqrt, 77 rsqrt 78 ]; 79 80 81 // EXPORTS // 82 83 module.exports = data;