Next | 39 |
It's all very well to say you will use integer arithmetic internally
But you really can't avoid fractions
The input numbers might be fractions
Holman's original version:
% echo 1.1 1.9 2.1 2.9 4.1 4.9 | spark ./spark: line 86: 4.9 / 7 : syntax error: invalid arithmetic operator (error token is ".9 / 7 ")
My version is better:
% echo 1.1 1.9 2.1 2.9 4.1 4.9 |./spark ▂▃▃▄▅▆
Next | Copyright © 2011 M. J. Dominus |