Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
why do ceil/floor give the decimal dot?
- X-seq: zsh-workers 35116
- From: Emanuel Berg <embe8573@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: why do ceil/floor give the decimal dot?
- Date: Thu, 14 May 2015 02:32:07 +0200
- Cancel-lock: sha1:4uenSG3KwNIwGlzKb8ihC5W72wE=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-copies-to: never
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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@xxxxxxx
<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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author