core: reduce code duplication in codegen/builtin_fns (#422)

Used macros to generate some unary math functions.

Reviewed-on: M-Labs/nac3#422
Reviewed-by: David Mak <chmakac@connect.ust.hk>
Co-authored-by: lyken <lyken@m-labs.hk>
Co-committed-by: lyken <lyken@m-labs.hk>
This commit is contained in:
lyken 2024-06-20 12:48:44 +08:00 committed by sb10q
parent 5b1aa812ed
commit e36af3b0a3
1 changed files with 359 additions and 1256 deletions

File diff suppressed because it is too large Load Diff