eakosin / TheExplorerProject

A 2D MMO-PVE dungeon crawler with item based character progression.
4 stars 3 forks source link

sanic'd the helpers.round and helpers.int. #1

Closed micole closed 10 years ago

micole commented 10 years ago

if you explain the behavior expected from helpers.odd and even I can help with those as well.

micole commented 10 years ago

Nevermind, breaks the code currently. I'll look into it.

micole commented 10 years ago

I fixed the issue.

eakosin commented 10 years ago

Unfortunately, the round function is slower than it's original counterpart by a factor of 4: 1.2800155673176e-006 4.8000729293562e-006 Maybe from converting to string and back again? And the int function now rounds instead of floor(positive) and ceil(negative).

Thanks anyways though.