[erlang-questions] math ceil floor
Dan Gudmundsson
dangud@REDACTED
Thu Jun 2 11:56:32 CEST 2016
Hi
I made pull request https://github.com/erlang/otp/pull/1084 which
implements ceil and floor in the math module.
The question is, should they return integer or floats?
The implementation in the PR currently returns integers and also implements
ceilf and floorf which returns floats.
Opinions?
/Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160602/c2671273/attachment.htm>
More information about the erlang-questions
mailing list