time-to-botec

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

repl.txt (456B)


      1 
      2 {{alias}}( x )
      3     Computes `gamma(x+1) - 1` without cancellation errors, where `gamma(x)` is
      4     the gamma function.
      5 
      6     Parameters
      7     ----------
      8     x: number
      9         Input value.
     10 
     11     Returns
     12     -------
     13     y: number
     14         Function value.
     15 
     16     Examples
     17     --------
     18     > var y = {{alias}}( 0.2 )
     19     ~-0.082
     20     > y = {{alias}}( -6.7 )
     21     ~-0.991
     22     > y = {{alias}}( 0.0 )
     23     0.0
     24     > y = {{alias}}( NaN )
     25     NaN
     26 
     27     See Also
     28     --------
     29