rolandpil / js-calculator

0 stars 0 forks source link

[Feature] tangent #10

Closed jeffeagle closed 8 hours ago

rolandpil commented 3 days ago

I don't think test:res2 is correct, tan(pi/2) should be undefined.

jeffeagle commented 9 hours ago

fixed testcases syntax but did not fix test:res2 - the assertion does not return undefined, but instead returns an actual value of 16331239353195370, as tested in my local machine