zsh-workers
 help / color / mirror / code / Atom feed
* why do ceil/floor give the decimal dot?
@ 2015-05-14  0:32 Emanuel Berg
  2015-05-14  2:56 ` Bart Schaefer
  0 siblings, 1 reply; 17+ messages in thread
From: Emanuel Berg @ 2015-05-14  0:32 UTC (permalink / raw)
  To: zsh-workers

>From #zsh (incal == yours truly):

<incal> why do ceil/floor give the decimal dot?
        echo $(( floor(5) )) -> 5. Isn't that the
        whole "point" that you want an integer? I know
        I can get it with int but I thought I'd learn
        if there is a reason
        
<danielsh> incal, I suspect that's an oversight.
<danielsh> incal, it just uses the C floor() function,

<incal> danielsh: OK, that explains it but it is still
        an open question if it makes sense. Is there
        an interactive way to report "bugs" or
        suspected bugs in zsh like there is in Emacs
        with `report-emacs-bug'?
        
<danielsh> incal, best email the list
           zsh-workers@zsh.org

<incal> danielsh: is that in Gwene? I see
        gmane.comp.shells.zsh.user and
        gmane.comp.shells.zsh.devel - is it one of
        them? Or would they work still?
        
<danielsh> incal, either of those works (the lists are
           nested)

-- 
underground experts united
http://user.it.uu.se/~embe8573


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

end of thread, other threads:[~2015-05-18  9:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14  0:32 why do ceil/floor give the decimal dot? Emanuel Berg
2015-05-14  2:56 ` Bart Schaefer
2015-05-14  3:29   ` Emanuel Berg
2015-05-14  3:53     ` Lawrence Velázquez
2015-05-14  9:53       ` Peter Stephenson
2015-05-14 21:38         ` Emanuel Berg
2015-05-14 22:14           ` Lawrence Velázquez
2015-05-14 23:29             ` Emanuel Berg
2015-05-15  0:46             ` Oliver Kiddle
2015-05-15  1:07               ` Emanuel Berg
2015-05-15  1:27               ` Bart Schaefer
2015-05-18  8:16             ` Vincent Lefevre
2015-05-14  4:04     ` Bart Schaefer
2015-05-14  9:12       ` Emanuel Berg
2015-05-14 17:54         ` Bart Schaefer
2015-05-18  8:39           ` Vincent Lefevre
2015-05-18  9:41             ` Mikael Magnusson

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).