time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

data.js (1487B)


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