Or maybe a new switch: COMPUTATIONALLYWRONG_MATHEMATICALLYCORRECT ON/OFF?
Although an assumed standard, lot´s of modern calculations depend on a
mod being able to assume a negative value.
Regards,
Thaddy
Florian Klaempfl wrote:
Dmitry Lizorkin schrieb:
That FPC never claims to be iso compliant. -1 mod 3 evalutes to -1 for
most modern programming languages.
Thank you for the clarification. A pity that FPC has no iso conformance
mode.
Well, it doesn't seem a big pity else somebody would have made one ;)
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.4/1751 - Release Date: 27-10-2008 22:44
No virus found in this outgoing message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.4/1751 - Release Date: 27-10-2008 22:44
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel