"Sputnik" help  
Sputnik Help
Int64AsDouble(<value>)

Description

Converts a 64-bit signed integer to a double-precision floating-point number.

Parameters

<value> The 64-bit signed integer to be converted.

Return Value

Success: Returns the double-precision floating-point number equivalent to the input integer.
Failure: Returns null.

Remarks

This function reinterprets the bits of the input integer as a double-precision floating-point number. It can be useful when working with low-level data manipulation or when converting between different numeric representations.

Related

Example

Example of usage:

my $v = Int64AsDouble(777);
say $v;
my $m = DoubleAsInt64($v);
say $m;

// PRINTS
// 3.83889006818649E-321
// 777

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org