Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Byte saving techniques - Math.ceil trick #4

Closed
elclanrs opened this issue Jul 11, 2013 · 1 comment
Closed

Byte saving techniques - Math.ceil trick #4

elclanrs opened this issue Jul 11, 2013 · 1 comment

Comments

@elclanrs
Copy link

I saw that the Math.floor trick is documented but the not Math.ceil altough it's being used here:

a = 10.5;
~~a; //=> 10
-~a; //=> 11
@jed
Copy link
Owner

jed commented Jul 14, 2013

you should add this to the wiki.

@jed jed closed this as completed Jul 14, 2013
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants