@stdlib/number-float32-base-from-word
Version:
Create a single-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation.
20 lines (19 loc) • 966 B
JavaScript
;var u=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var i=u(function(q,a){"use strict";var n=require("@stdlib/array-uint32"),o=require("@stdlib/array-float32"),t=new n(1),s=new o(t.buffer);function f(e){return t[0]=e,s[0]}a.exports=f});var v=i();module.exports=v;
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//# sourceMappingURL=index.js.map