Commit Graph

8 Commits

Author SHA1 Message Date
a5ad6af3f0
bahaghari/lib: add math.exp 2024-06-03 16:14:06 +08:00
5f07c5b0fc
bahaghari/lib: add math.sqrt function 2024-06-01 13:21:30 +08:00
817ec35b02
bahaghari/lib: add floor and ceil for math subset
Even though they're already available from the builtins, we still want
the library subset to feel consistent.
2024-05-30 14:42:29 +08:00
14049db2e4
bahaghari/lib: add more functions to math subset 2024-05-29 22:56:33 +08:00
66b35ea2c6
bahaghari: update library arguments
It makes it confusing sometimes. Not worth keeping the design.
2024-03-02 18:10:21 +08:00
9d122c32c0
bahaghari/lib: update percentage
Also reordered the arguments to make it more "functional".
2024-03-02 17:18:15 +08:00
0b7b3ffd7d
bahaghari/lib: add grow' and isWithinRange
Also updated the order of the arguments to make it more usable in
functional programming paradigm or whatever.
2024-03-02 12:54:59 +08:00
878dddea77
bahaghari/lib: init math subset
In preparation for implementing the colorspace library subset.
2024-02-29 22:06:33 +08:00