Mail Archives: djgpp/1997/02/23/11:28:59
KaRNaGE <dlydiard AT linknet DOT kitsap DOT lib DOT wa DOT us> wrote in article
<Pine DOT SUN DOT 3 DOT 95 DOT 970222230557 DOT 10676A-100000 AT linknet DOT kitsap DOT lib DOT wa DOT us>...
>
> i'm converting a pascal program to C and i ran into 'single'
> does anyone know the range of this kind of variable? ...i'm usuming it's
> 32bit...but i'm not sure if it's unsigned or signed...i don't have a
> pascal compiler...so can someone that knows what 'single' is please tell
> me....thankz...
>
>
>
Pascal type 'single' is a single-precision floating point variable. 32
bits. Should be comparable to the C type 'float'.
Pascal type 'single' is 4 bytes, 'real' is a Pascal-specific type of 6
bytes, and 'double' is 8 bytes. Delphi also has 'extended' which is ten
bytes.
--
TTFN
Sly (Steve)
- Raw text -