blockpy-edu / blockpy

Blockly that's more Python than JavaScript, powered with Skulpt
Apache License 2.0
391 stars 130 forks source link

ceil/floor functions from the Python math library #35

Closed isnullxbh closed 6 years ago

isnullxbh commented 6 years ago

Implementation of a recognition of ceil\floor functions. P.S. I didn't rebuild the JS-sources (build.py). It is a thema for issue: we can mark sources (*-compressed) as untracked in git and excute rebuild if it really need, otherwise cloning the repository take a long time, for example.

acbart commented 6 years ago

This seems reasonable. It probably speaks to more needed thoughts about modules in BlockPy, since these functions come from the math module. Thanks for the pull request!