-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
At the beginning of the file
https://github.com/lurchmath/openmath-js/blob/master/openmath.js
there is the 'float' pattern : /[+-]?(?:[0-9]+\.[0-9]*|[0-9]*\.[0-9]+)/
but it doesn't support big floats with exponent such as 3.44e203
Take instead the pattern from the function vsOMF of https://www.openmath.org/validation/omvalidate.js , the script used by https://www.openmath.org/validation/omvalidate.html
Also have a look at that file, which is also javascript for openmath, in case that there is something useful for openmath-js
Metadata
Metadata
Assignees
Labels
No labels