mathjax / MathJax

Beautiful and accessible math in all browsers
http://www.mathjax.org/
Apache License 2.0
10.11k stars 1.16k forks source link

Support for evaluating floating point expressions #3187

Open Aljumaily opened 7 months ago

Aljumaily commented 7 months ago

It would be helpful to include support for the xfp package which contains the \fpeval{...} command. It has the ability to evaluate floating point expressions. For example, \fpeval{3*5^2 - cos(pi) * sqrt(64)} yields 83. A more involved request would be to support expl3 syntax but the xfp package suffice for now.

dpvc commented 7 months ago

I've marked as a feature request, though there are no immediate plans to implement it.