time-to-botec

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

repl.txt (535B)


      1 
      2 {{alias}}( x )
      3     Computes the principal square root of a double-precision floating-point
      4     number.
      5 
      6     For `x < 0`, the principal square root is not defined.
      7 
      8     Parameters
      9     ----------
     10     x: number
     11         Input value.
     12 
     13     Returns
     14     -------
     15     y: number
     16         Principal square root.
     17 
     18     Examples
     19     --------
     20     > var y = {{alias}}( 4.0 )
     21     2.0
     22     > y = {{alias}}( 9.0 )
     23     3.0
     24     > y = {{alias}}( 0.0 )
     25     0.0
     26     > y = {{alias}}( -4.0 )
     27     NaN
     28     > y = {{alias}}( NaN )
     29     NaN
     30 
     31     See Also
     32     --------
     33