delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/02/07:27:47

From: "Mr. Veli Suorsa" <VJSuorsa AT Surfeu DOT Fi>
Sender: vjsuorsa AT Surfeu DOT Fi
To: Djgpp AT delorie DOT com
Cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, VJSuorsa AT Surfeu DOT Fi
Date: Fri, 2 Mar 2001 14:23:58 +0200
Subject: Re: Fortran / C compiler precision and code pack and Converters
X-Mailer: CWMail Web to Mail Gateway 2.6k, http://netwinsite.com/top_mail.htm
Message-id: <3a9f90de.69e.0@surfeu.fi>
X-User-Info: 193.167.106.194
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Thanks for your e-mail.

>On Thu, 1 Mar 2001, Mr. Veli Suorsa wrote:
>
>> >If your problem is with 14.399996 being printed instead of 14.4,
>> >that's normal: REAL variables only have about 6.5 digits of
>> >precision.  Try using DOUBLE PRECISION instead.
>> 
>> Thanks, it seems to be ok. 
>> But was it a bug, I have newer seen before in my long life?
>
>No, it is not a bug.  FWIW, I've seen such cases quite a 
What does FWIW means (heave a deep sigh, I presume)?

>few times. It is simply a consequence of finite precision
>of floating-point numbers.

Program was just a test from book. Compilers finite precision differ from each
other.

>> >There's a GNU Pascal compiler on the usual DJGPP sites; look for 
>> >v2gnu/gpc20bb.zip.
>> 
>> Do you need some help with updating download sites?
>> 
>> On ftp://ftp.funet.fi/pub/mirrors/simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/00_index.txt

>> 
>> there was only filenames, not comment like:
>> 
>> gpc20bb.zip  B  1,903,230 001126 
>> gpc20bbd.zip B    163,398 001116 
>> gpc20bbs.zip B  2,769,308 001116 
>
>Thanks for catching this, I will fix it.

Converters
----------

Where can I find converters or translators

Pascal - > C
Fortran - > C
Qbasic - > C
Basic - > C
Java - > C
Sql - > C
C - > C++

I ask thiis, because in my own "museum", I have about 20 000 lines perfect and
tested code to convert to C/ C++.

Thank you.

Veli Suorsa
---
Oulu, FINLAND
Mailto:VJSuorsa AT Surfeu DOT Fi
http://members.surfeu.fi/veli.suorsa/
http://www.surfeu.fi

- Raw text -


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