AshleyYakeley / Truth

Changes and Pinafore projects. Pull requests not accepted.
https://pinafore.info/
GNU General Public License v2.0
32 stars 0 forks source link

Scientific numeric type #252

Open AshleyYakeley opened 2 months ago

AshleyYakeley commented 2 months ago

Create a new numeric type represented by Scientific. Use it for JSON (#168).

Possible conversions:

Should literals be of type Scientific?

Should Scientific exponent be limited? If so, how? Note max Double value is 1.7976931348623157E308.

Representation as Literal: would be as large rational.