grain-lang / grain

The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
https://grain-lang.org/
GNU Lesser General Public License v3.0
3.28k stars 115 forks source link

feat(stdlib): Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float32` #2161

Closed spotandjake closed 1 month ago

spotandjake commented 2 months ago

This pr adds some utilities to Float32 which map easily to wasmF32 such as copySign, sqrt, min, max, round, trunc, floor, ceil

Work Towards #2156