ACM SIGAPL APL Quote Quad
Question: "why does APL/360/370 give the following results?"
ACM SIGAPL APL Quote Quad
Definitions for fuzzy floor and ceiling
ACM SIGAPL APL Quote Quad
More on fuzzy floor and ceiling
ACM SIGAPL APL Quote Quad
APL '76 Proceedings of the eighth international conference on APL
APL '76 Proceedings of the eighth international conference on APL
A programming language
The Euclidean definition of the functions div and mod
ACM Transactions on Programming Languages and Systems (TOPLAS)
APL '82 Proceedings of the international conference on APL
Hi-index | 0.00 |
Certain pairs of arguments to the residue function, as implemented on many APL systems, give results which make it seem as if the ordinary decimal relationships we remember from grade school no longer hold. As far as we can tell, it looks as if a given modulus should divide the right argument, but the implementation tells us it doesn't. A definition for a fuzzed residue function is proposed which resolves the difficulties users have complained of. However, certain points of continuing difficulty remain, where the limitations of machine arithmetic continue to defeat the attempt to model the real number system. The representation function is defined in terms of the residue function, and so is affected by the change in residue. The nature of this effect is also discussed in this paper.