valderman/haste-compiler — pull request #21 by jochu (2012-09-24 07:21:06+00:00)
Title: Native support for ceiling_ and floor_ (like round_)

This implements both `ceiling_` and `floor_` under `NumberRep`. It is closely modeled after how `round_` is implemented (including a possibly out of date comment regarding lib/rts.js - I'm not familiar enough with the codebase to be sure, so I left it in).

If something looks wonky / you want to me to make any changes or put it in a different format / this really should be just something we write ourselves via the ffi - then please let me know.