Re: [pure-lang-users] Yet another quirk with MinGW
Status: Beta
Brought to you by:
agraef
From: John C. <co...@cc...> - 2008-08-20 17:38:36
|
Eddie Rucker scripsit: > You are right for 0.0. Yep, we have to use the |a-b| < epsilon > definition for equality. However, for the integer 0 and the rational 0% > 1, shouldn't log 0 be undefined? Well, in general all the trig functions first cast their argument to a float; I think everyone expects that in whatever language, though some do provide integer square root functions, probably because they're easy to implement. -- John Cowan <co...@cc...> http://www.ccil.org/~cowan .e'osai ko sarji la lojban. Please support Lojban! http://www.lojban.org |