Re: [q-lang-users] Query about Type Tests (Complex and Rational).
Brought to you by:
agraef
From: John C. <co...@cc...> - 2006-06-16 21:25:14
|
Albert Graef scripsit: > John Cowan wrote: > >>Like isintnum, iscomplexnum, etc. Maybe we should also add isexact? > > > > Sounds good. And isinexact (which would be true of floats and of > > complex numbers with at least one float component). > > Wouldn't 'isinexact' simply be the negation of 'isexact'? I would assume these predicates return false on non-numbers. (In fact, the Scheme equivalents throw errors on non-numbers, which I consider a defect.) -- John Cowan co...@cc... http://ccil.org/~cowan In the sciences, we are now uniquely privileged to sit side by side with the giants on whose shoulders we stand. --Gerald Holton |