1. double
------=_NextPart_000_0007_01BFA7D2.3F0C3A80
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
i would like to know how the hell do you get double numbers with peek, =
as doubles/floats are 8? ,or what, bytes long.
with peek/peek4 functions you can get maximum 4 bytes long value, =
anything longer would then be sequence, like strings.
------=_NextPart_000_0007_01BFA7D2.3F0C3A80
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>i would like to know how the hell do =
you get double=20
numbers with peek, as doubles/floats are 8? ,or what, bytes=20
long.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>with peek/peek4 functions you can get =
maximum 4=20
bytes long value, anything longer would then be sequence, like=20
------=_NextPart_000_0007_01BFA7D2.3F0C3A80--
2. Re: double
This will give you a double -- float64_to_atom(peek({address,8}))
This will give you a float -- float32_to_atom(peek({address,4}))
Bernie