From: "Sly" Newsgroups: comp.os.msdos.djgpp Subject: Re: pascal 'single'->C equivelent Date: 23 Feb 1997 15:23:41 GMT Organization: Sly Lines: 23 Message-ID: <01bc2195$b48cc7a0$8a081ecb@sly> References: NNTP-Posting-Host: max0ppp08.bne.aussie.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp KaRNaGE wrote in article ... > > 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)