Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.88k stars 151 forks source link

improve trigonometric functions output in exact mode #643

Open howaboutuser opened 7 months ago

howaboutuser commented 7 months ago

sin(15deg)

sin(15 degrees) = sin(π / 12)

expect sin(15 degrees) = ( sqrt(6) - sqrt(2) ) / 4

Exact trigonometric values https://en.wikipedia.org/wiki/Exact_trigonometric_values