www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/24/04:30:11

From: j DOT j DOT keijser AT siep DOT shell DOT com (J.J. Keijser)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: pascal 'single'->C equivelent
Date: Mon, 24 Feb 97 08:51:50 GMT
Organization: SIEP RTS
Message-ID: <5ero33$k5q@wwwserv1.shell.nl>
References: <Pine DOT SUN DOT 3 DOT 95 DOT 970222230557 DOT 10676A-100000 AT linknet DOT kitsap DOT lib DOT wa DOT us>
NNTP-Posting-Host: gate.shell.nl
Lines: 42
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article 
<Pine DOT SUN DOT 3 DOT 95 DOT 970222230557 DOT 10676A-100000 AT linknet DOT kitsap DOT lib DOT wa DOT us>,
   KaRNaGE <dlydiard AT linknet DOT kitsap DOT lib DOT wa DOT us> wrote:
>
>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...

(Turbo)Pascal	C
-------------	-------
real		doesn't map; about equivalent to double
single		float
double		double
extended	long double

HTH,

JJ


----------------------------------------------------------
                 *NOTE*
   My Email return address is not correct
    in order to avoid mass mailings...
     These are the correct addresses:

  Jan Just (JJ) Keijser
  SMTP: j DOT j DOT keijser AT siep DOT shell DOT com
  X400: C=NL A=400NET P=SHELL O=SIEP RIJSWIJK
        OU1=EPT-RO OU2=OPENMAIL S=KEIJSER I=JJ
          or
  SMTP: KeijserJJ AT logica DOT com
  X400: C=GB A=ATTMAIL P=Logica O=LBV OU1=LBVRTDA S=KEIJSERJJ

  (who said X400 addresses aren't easy to remember :-)

  Where do you want to crash today?
  My views are my own...
                    flames > /dev/null 2>&1
----------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019