[fpc-pascal] FW: Floating point question

2024-02-05 Thread James Richters via fpc-pascal
Sorry if this ends up being a duplicate, but I thought since it did not show up after a few hours that is was blocked because I had attached a screen shot to it. So here I removed the attachment and instead link to the screen shot: https://drive.google.com/file/d/1IJWSqR8UYgWRoq9oVwuOSa-XFd35FXZP/

Re: [fpc-pascal] Floating point question

2024-02-05 Thread James Richters via fpc-pascal
What is the proper way to use $EXCESSPRECISION ? I tried: program TESTDBL1 ; {$EXCESSPRECISION ON} Const TT_Const = 8427 + 33 / 1440.0 ; SS_Const = 8427 + Double(33 / 1440.0) ; Begin WRITELN ( 'TT_Const = 8427 + 33 / 1440.0 ; =' , TT_Const : 20 : 20 )