gcd with doubles

Alex via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 27 14:12:36 PDT 2017


ok... googled a little bit.
Seems to be the problem of the kind floating poing <--> decimal...
Will try to get by with some division and lrint logic, as there 
is a lack of definition, how to define a gcd in general case.
For example with 30 and 0.16.
Never mind...


More information about the Digitalmars-d-learn mailing list