Mail Archives: djgpp/2001/03/01/07:14:53
Hi!
Thanks for your e-mail.
>> Gross pay : 1600
>> Superannuation : 96.
>> Tax : 376.
>> Insurance : 14.3999996
>>
>> Nett pay : 1113.59998
>>
>> Did I everything right, because insurance (real) was different from 14.4?
>
>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?
>> P.S. Does Gnu Pascal compiler exist and is there any user online for a little
>> sort test?
>
>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
gpp2952b.zip B 1,713,599 000117 GNU C++ Compiler 2.95.2 for DJGPP V2
gpp2952d.zip B 497,991 001208 GNU C++ Compiler 2.95.2 docs: html/dvi/ps
gprf272b.zip B 91,640 001111 GNU Gperf 2.7.2 for DJGPP V2
gprf272d.zip B 154,480 001111 GNU Gperf 2.7.2 docs: html/dvi/ps
gprf272s.zip B 415,669 001111 GNU Gperf 2.7.2 sources
gpt112b.txt A 372 960426
gpt112b.zip B 698,287 960506 GNU Pascal with Turbo Pascal Extensions
That is why I try gpt112b.zip and it did not compile a word.
Thanks.
Veli Suorsa
---
Oulu, FINLAND
Mailto:VJSuorsa AT Surfeu DOT Fi
http://members.surfeu.fi/veli.suorsa/
http://www.surfeu.fi
- Raw text -