4 Commits

Author SHA1 Message Date
Tom Alexander
fdd467298a
Finish the MathNumber implementations. 2020-06-13 22:46:03 -04:00
Tom Alexander
f783f45d24
Implement the 2-number math functions for MathNumber. 2020-06-13 22:32:30 -04:00
Tom Alexander
0a2e1b007c
Add stubs for MathNumber. 2020-06-13 22:23:40 -04:00
Tom Alexander
d6ad7c28f3
Move MathNumber into the library.
While this will be used for the OwnedLiterals since they must always exhibit the original DustJS behavior, I am going to keep exposing separate math functions for ContextElement instead of simply requiring them to implement Into<MathNumber> since people might want to implement math in unusual ways with unusual types.
2020-06-13 19:13:02 -04:00