*** GMX Spamverdacht *** Re: [fpc-devel] -1 mod 3
    Thaddy 
    thaddy at thaddy.com
       
    Tue Oct 28 19:16:48 CET 2008
    
    
  
Vinzent Höfler wrote:
> Thaddy wrote:
>> 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.
>
> Conceptually it's just the difference between "modulo" (mod) and 
> "remainder" (rem). Some computer languages have distinct operators for 
> those:
>
> So the "mod" in Delphi/FPC is just called wrong. ;)
>
>
> Vinzent.
And impractical.. <smile> As implicitly stated before, I am a bit 
ambiguous on this issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: multipart/alternative
Size: 1 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20081028/cfb643e0/attachment.bin>
-------------- next part --------------
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
    
    
More information about the fpc-devel
mailing list