Overview | Group | Tree | Graph | Index | Concepts |
Concert Technology offers predefined functions that return an expression from a trigonometric function on an expression. These predefined functions also return a numeric value from a trigonometric function on a numeric value as well.
Programming Hint
If you want to manipulate constrained floating-point expressions in degrees, we strongly recommend that you call the trigonometric functions on variables expressed in radians and then convert the results to degrees (rather than declaring the constrained floating-point expressions in degrees and then converting them to radians to call the trigonometric functions).
The reason for that advice is that the method we recommend gives more accurate results in the context of the usual floating-point pitfalls.