time-to-botec

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

repl.txt (562B)


      1 
      2 {{alias}}( x, y )
      3     Computes the hypotenuse.
      4 
      5     Parameters
      6     ----------
      7     x: number
      8         First number.
      9 
     10     y: number
     11         Second number.
     12 
     13     Returns
     14     -------
     15     out: number
     16         Hypotenuse.
     17 
     18     Examples
     19     --------
     20     > var h = {{alias}}( -5.0, 12.0 )
     21     13.0
     22 
     23     // For a sufficiently large `x` and/or `y`, the function overflows:
     24     > h = {{alias}}( 1.0e154, 1.0e154 )
     25     Infinity
     26 
     27     // For sufficiently small `x` and/or `y`, the function underflows:
     28     > h = {{alias}}( 1e-200, 1.0e-200 )
     29     0.0
     30 
     31     See Also
     32     --------
     33