1. Explain why ?mod(-48,43) prints 38 to me like I'm a 5 year old.

It does that in gmp, it does that in Phix, I just need to know why... (ffs I wrote the pigging phix version of it!)

new topic     » topic index » view message » categorize

2. Re: Explain why ?mod(-48,43) prints 38 to me like I'm a 5 year old.

petelomax said...

It does that in gmp, it does that in Phix, I just need to know why... (ffs I wrote the pigging phix version of it!)

It gives the same result (38) in Excel

new topic     » goto parent     » topic index » view message » categorize

3. Re: Explain why ?mod(-48,43) prints 38 to me like I'm a 5 year old.

Ah: -48 + 43 = -5, + 43 = 38 (well, that's how, not really why...)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu