Help for this page

Select Code to Download


  1. or download this
    Type                              Min       Max
    --------------------------------  --------  -----------
    signed n-bit int                  -2^(n-1)  (2^(n-1))-1
    unsigned n-bit int                0         (2^n)-1
    IEEE float with n-bit mantissa    -2^(n+1)  2^(n+1)
    
  2. or download this
    Type                              Min                Max
    --------------------------------  -----------------  ----------------
    signed 32-bit integer                   -2147483648        2147483647
    unsigned 32-bit integer                           0        4294967295
    IEEE float with 52-bit mantissa   -9007199254740992  9007199254740992
    
  3. or download this
    $x = 2**(52+1);
    
    ...
       printf("%f\n", $x);
       $x++;
    }
    
  4. or download this
    9.00719925474099200e+015  <-- That's exact.
    
    ...
    9007199254740992.000000       bit dropped.
    9007199254740992.000000
    9007199254740992.000000