zsh-workers
 help / color / mirror / code / Atom feed
* Floating point modulus - the "why not"
@ 2015-01-13  5:38 Bart Schaefer
  2015-01-13 10:10 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2015-01-13  5:38 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-13 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13  5:38 Floating point modulus - the "why not" Bart Schaefer
2015-01-13 10:10 ` Peter Stephenson
2015-01-13 16:18   ` Vincent Lefevre
2015-01-13 16:57     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).