You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This changes the output to "infinity", removing the issue.
However, MathNet.Symbolics seems to not allow this to happen, which I suspect is due to oversight deeper in the code. A resolution would potentially be:
Symbolics is not relying on string.Format but instead intentionally and explicitly formats some special symbols with Unicode characters - not just for infinity, but also complex infinity and also pi. It can parse them accordingly as well, so this is a feature really.
Do I understand it correctly that the problem appears when using legacy raster fonts instead of true type fonts? According to the thread this seems to be the root problem (for some code pages), rather than the encoding by its own?
In my code, I have a
SymbolicExpression Function
, which when given specific values, the result is infinity.As an example:
The expected result here is infinity, however, in console, this is displayed as "8".
See the following thread for more information.
Typically, in the general sense, you can use something like the following to remove the issue of these semantics:
This changes the output to "infinity", removing the issue.
However, MathNet.Symbolics seems to not allow this to happen, which I suspect is due to oversight deeper in the code. A resolution would potentially be:
The text was updated successfully, but these errors were encountered: