Help for this page

Select Code to Download


  1. or download this
    $f2_5 = unpack("b64",pack("d",2.5));
    print $f2_5 . "\n";
    # Will return something like 00000000000000000000000000000000000000000
    +00000000010000000000010
    
  2. or download this
    {
      my($endian,$binary2double_fun);
    ...
        return 0.0;
      }
    }