If I do 5% 2j1 I get: 2j_1 Clearly 2 and _1 are integers, but are represented as floats in the division. i.e.
datatype +. 5%2j1
floating
How can I test if a float is an integer? e.g. in C:
if (value == (int)value){...}
My main motivation here is to find gaussian divisors (i.e. gaussian integers)
of different integer values.
Regards.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
