Inifinity symbol and trigonometric functions #681
-
|
Hi there! How can I get the infinity value symbol without the plus/minus (as shown in line 270 of OutputWriter.cs)???
Since I had no success in my previous attempts, I decided to try some trigonometric functions. Then I found out that the results from such functions may need some tweaks, no? Maybe forcing some zero/infinity values for very known results? Or maybe forcing some rounding?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Hi! Calcpad uses the standard 64 bit floating point math functions as they are in the CPU and exposed via the Math class in C#. You will get the same results in any other language as C, C++, C#, Java, etc. The way they are computed in floating point environment is specified by the IEEE 754 standard. The best way is to leave them like this. Adding some artificial corrections/rounding to the values can be dangerous. But If you want to see them rounded, you can apply the respective number formatting. The things are different for symbolic CAS and arbitrary precision calculation systems. |
Beta Was this translation helpful? Give feedback.



Hi! Calcpad uses the standard 64 bit floating point math functions as they are in the CPU and exposed via the Math class in C#. You will get the same results in any other language as C, C++, C#, Java, etc. The way they are computed in floating point environment is specified by the IEEE 754 standard.
The best way is to leave them like this. Adding some artificial corrections/rounding to the values can be dangerous. But If you want to see them rounded, you can apply the respective number formatting. The things are different for symbolic CAS and arbitrary precision calculation systems.