data.js (1371B)
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 inv = require( './../../../../base/special/inv' ); 26 var invf = require( './../../../../base/special/invf' ); 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 inv, 36 inv, 37 38 // float32 39 invf, 40 inv, 41 inv, 42 43 // generic 44 inv, 45 46 // int32 47 inv, 48 inv, 49 50 // int16 51 invf, 52 inv, 53 inv, 54 55 // int8 56 invf, 57 inv, 58 inv, 59 60 // uint32 61 inv, 62 inv, 63 64 // uint16 65 invf, 66 inv, 67 inv, 68 69 // uint8 70 invf, 71 inv, 72 inv, 73 74 // uint8c 75 invf, 76 inv, 77 inv 78 ]; 79 80 81 // EXPORTS // 82 83 module.exports = data;