Add new constant from functions for Dynamic.

This commit is contained in:
Stephen Chung
2021-07-25 22:48:40 +08:00
parent ffb1531e0e
commit 3127f9a8af
2 changed files with 98 additions and 72 deletions

View File

@@ -10,6 +10,7 @@ Enhancements
* `$symbol$` is supported in custom syntax to match any symbol.
* `Dynamic::as_string` and `Dynamic::as_immutable_string` are deprecated and replaced by `into_string` and `into_immutable_string` respectively.
* Added a number of constants to `Dynamic`.
* Added a number of constants and `fromXXX` constant methods to `Dynamic`.
* `parse_float()`, `PI()` and `E()` now defer to `Decimal` under `no_float` if `decimal` is turned on.