@stdlib/utils-safe-int-max
Version:
Return the maximum safe integer capable of being represented by a numeric real type.
6 lines (5 loc) • 602 B
JavaScript
var i=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var t=i(function(l,a){
var u=require('@stdlib/error-tools-fmtprodmsg/dist'),s=require('@stdlib/constants-float16-max-safe-integer/dist'),n=require('@stdlib/constants-float32-max-safe-integer/dist'),o=require('@stdlib/constants-float64-max-safe-integer/dist');function c(r){switch(r){case"float64":return o;case"float32":return n;case"float16":return s;default:throw new TypeError(u('1XTBn',r))}}a.exports=c
});var f=t();module.exports=f;
/** @license Apache-2.0 */
//# sourceMappingURL=index.js.map
;