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