time-to-botec

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

repl.txt (857B)


      1 
      2 {{alias}}( x, y )
      3     Evaluates the exponential function given a signed 32-bit integer exponent.
      4 
      5     This function is not recommended for high-precision applications due to
      6     error accumulation.
      7 
      8     If provided a negative exponent, the function first computes the reciprocal
      9     of the base and then evaluates the exponential function. This can introduce
     10     significant error.
     11 
     12     Parameters
     13     ----------
     14     x: number
     15         Base.
     16 
     17     y: integer
     18         Signed 32-bit integer exponent.
     19 
     20     Returns
     21     -------
     22     out: number
     23         Function value.
     24 
     25     Examples
     26     --------
     27     > var v = {{alias}}( 2.0, 3 )
     28     8.0
     29     > v = {{alias}}( 3.14, 0 )
     30     1.0
     31     > v = {{alias}}( 2.0, -2 )
     32     0.25
     33     > v = {{alias}}( 0.0, 0 )
     34     1.0
     35     > v = {{alias}}( -3.14, 1 )
     36     -3.14
     37     > v = {{alias}}( NaN, 0 )
     38     NaN
     39 
     40     See Also
     41     --------
     42