time-to-botec

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

repl.txt (638B)


      1 
      2 {{alias}}( x, y )
      3     Returns a double-precision floating-point number with the magnitude of `x`
      4     and the sign of `y`.
      5 
      6     Parameters
      7     ----------
      8     x: number
      9         Number from which to derive a magnitude.
     10 
     11     y: number
     12         Number from which to derive a sign.
     13 
     14     Returns
     15     -------
     16     z: number
     17         Double-precision floating-point number.
     18 
     19     Examples
     20     --------
     21     > var z = {{alias}}( -3.14, 10.0 )
     22     3.14
     23     > z = {{alias}}( 3.14, -1.0 )
     24     -3.14
     25     > z = {{alias}}( 1.0, -0.0 )
     26     -1.0
     27     > z = {{alias}}( -3.14, -0.0 )
     28     -3.14
     29     > z = {{alias}}( -0.0, 1.0 )
     30     0.0
     31 
     32     See Also
     33     --------
     34