On Tue, Sep 09, 2014 at 05:56:07PM +0200, Ian Hinder wrote: > CoordBase::dx = 40/48 > > I get an error that dx should not be set to 0.
When I first read your email, that was what I expected: "Isn't 40/48==0, so where is the bug?" In other words - I was expecting this to use the same logic as a lot of computer languages do - which is currently does. A "double a = 40/48;" is 0 too, even if "a" is not. In this sense I think that the current behaviour is "as intended". Frank
signature.asc
Description: Digital signature
_______________________________________________ Users mailing list [email protected] http://cactuscode.org/mailman/listinfo/users
