data.js (1600B)
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 abs2 = require( './../../../../base/special/abs2' ); 26 var abs2f = require( './../../../../base/special/abs2f' ); 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 abs2, 36 abs2, 37 38 // float32 39 abs2f, 40 abs2f, 41 abs2f, 42 43 // generic 44 abs2, 45 46 // int32 47 abs2, 48 abs2, 49 abs2, 50 abs2, 51 52 // int16 53 abs2, 54 abs2, 55 abs2, 56 abs2, 57 abs2, 58 abs2, 59 abs2, 60 61 // int8 62 abs2, 63 abs2, 64 abs2, 65 abs2, 66 abs2, 67 abs2, 68 abs2, 69 abs2, 70 abs2, 71 abs2, 72 73 // uint32 74 abs2, 75 abs2, 76 abs2, 77 78 // uint16 79 abs2, 80 abs2, 81 abs2, 82 abs2, 83 abs2, 84 abs2, 85 86 // uint8 87 abs2, 88 abs2, 89 abs2, 90 abs2, 91 abs2, 92 abs2, 93 abs2, 94 abs2, 95 abs2, 96 97 // uint8c 98 abs2, 99 abs2, 100 abs2, 101 abs2, 102 abs2, 103 abs2, 104 abs2, 105 abs2, 106 abs2 107 ]; 108 109 110 // EXPORTS // 111 112 module.exports = data;