qalculate-android icon indicating copy to clipboard operation
qalculate-android copied to clipboard

Trigonometric functions

Open ByteHamster opened this issue 3 years ago • 1 comments

sin, cos, etc are currently not interpreted. The result simply is the text that was entered. My guess would be that this is because the app does not specify radians vs degrees.

ByteHamster avatar Mar 27 '22 21:03 ByteHamster

The behaivor you describe is consistent with qalc when the angle setting is set to 0.

See the "settings" section here https://qalculate.github.io/manual/qalc.html

This is set by the "/set angle [number]" qalc command. When the number is zero, the units of the argument for all trigonometric functions must be an angle (e.g. cos(pi rad), sin(45 deg), tan(1023.4 turns)). This is my preferred setting, and I assume it's also the default in this app. I haven't actually used this app yet but I'm thinking about trying it.

smm9509 avatar Dec 02 '22 21:12 smm9509

Fixed in bfff519

jherkenhoff avatar Jun 15 '24 12:06 jherkenhoff