grain icon indicating copy to clipboard operation
grain copied to clipboard

feat(stdlib): Add `Number.tan`, `Number.factorial`, `Number.clamp`, `Number.lerp`

Open spotandjake opened this issue 1 year ago • 2 comments

This pr adds Number.tan, Number.factorial, Number.clamp, Number.lerp to the Number libary for #1017

spotandjake avatar Jul 26 '22 23:07 spotandjake

I made the changes we talked about in discord i will move Number.map to its own pr i wasnt able to run the tests because downloading the modules on my internet is taking forever.

spotandjake avatar Aug 04 '22 21:08 spotandjake

can someone convert this to a draft pr until #1404 is completed

spotandjake avatar Aug 05 '22 03:08 spotandjake

I think i am going to close this as it will require an entire rewrite to use range and the scope of this pr has changed to just be map, lerp and clamp. Going to add a comment to the issue though linking to this as this has some stuff related to documenting that is still useful

spotandjake avatar Dec 08 '22 21:12 spotandjake