parnoldx / nasc

Do maths like a normal person
http://parnoldx.github.io/nasc/
GNU General Public License v3.0
560 stars 37 forks source link

Bug Trigonometry #52

Closed sjodiel closed 7 years ago

sjodiel commented 7 years ago

Trigonometry functions do not work for angles different from zero.

parnoldx commented 7 years ago

You have to define the unit of the angle. sin 5° or cos 7rad ...

sjodiel commented 7 years ago

Hello I was using this way, for example, sin (45) cos (45). But no results were shown. Even with using sin (45 º). Using sin (45 rad) works perfectly.

parnoldx commented 7 years ago

sin(45°) works also. So still not sure what the problem is.

sjodiel commented 7 years ago

Sorry, I was using the wrong symbol. Instead of ° (degree) I was using º (ordinal).