Promotion rules ... why no float?

pineapple via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 7 10:53:17 PDT 2016


On Tuesday, 6 September 2016 at 07:26:37 UTC, Andrea Fontana 
wrote:
> Integer division and modulo are not bugs.

Quoted for emphasis

If you want floating point math, then declare your variables as 
floats.


More information about the Digitalmars-d mailing list