time-to-botec

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

repl.txt (599B)


      1 
      2 {{alias}}( x, high )
      3     Sets the more significant 32 bits of a double-precision floating-point
      4     number.
      5 
      6     Parameters
      7     ----------
      8     x: number
      9         Input value.
     10 
     11     high: integer
     12         Unsigned 32-bit integer to replace the higher order word of `x`.
     13 
     14     Returns
     15     -------
     16     out: number
     17         Double having the same lower order word as `x`.
     18 
     19     Examples
     20     --------
     21     // Set the higher order bits of `+infinity` to return `1`:
     22     > var high = 1072693248 >>> 0;
     23     > var y = {{alias}}( {{alias:@stdlib/constants/float64/pinf}}, high )
     24     1.0
     25 
     26     See Also
     27     --------
     28