time-to-botec

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

repl.txt (569B)


      1 
      2 {{alias}}( x )
      3     Tests if a finite double-precision floating-point number is an integer.
      4 
      5     The function assumes a finite number. If provided positive or negative
      6     infinity, the function will return `true`, when, in fact, the result is
      7     undefined.
      8 
      9     Parameters
     10     ----------
     11     x: number
     12         Value to test.
     13 
     14     Returns
     15     -------
     16     bool: boolean
     17         Boolean indicating whether the value is an integer.
     18 
     19     Examples
     20     --------
     21     > var bool = {{alias}}( 1.0 )
     22     true
     23     > bool = {{alias}}( 3.14 )
     24     false
     25 
     26     See Also
     27     --------
     28