We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
/[+-]?(?:[0-9]+\.[0-9]*|[0-9]*\.[0-9]+)/
Also have a look at that file, which is also javascript for openmath, in case that there is something useful for openmath-js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: