moonbitlang / core

MoonBit's Core library
https://moonbitlang.com/
Apache License 2.0
586 stars 73 forks source link

Proposal: move `exp`, `log` to `@math` instead of `@double` #1046

Open qazxcdswe123 opened 1 week ago

qazxcdswe123 commented 1 week ago

Currently, exp, sqrt and log are in the double pkg.

IMO,it would be more appropriate to move them to the math package.

Lampese commented 1 week ago

and sqrt?

bobzhang commented 1 week ago

lgtm, we can deprecate those APIs without removing them though