Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Floating point modulus - the "why not"



I think we did the right thing, but just as a counter-point:

torch% print $(( 91 % 13 ))                 
0
torch% print $(( 9.1 % 1.3 ))    
1.2999999999999994



Messages sorted by: Reverse Date, Date, Thread, Author