-
Notifications
You must be signed in to change notification settings - Fork 1
Math.tan() method bugged #6
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededinvalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requested
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededinvalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requested
Type
Fields
Give feedbackNo fields configured for issues without a type.
https://github.com/NishkarshRaj/JavaScript/blob/master/JavaScript%20Basic%20Programs/27_Math/Tan.html
JavaScript Math.tan() method is not giving required results.
In above linked code, tan(90 Deg) = sin(90)/cos(90) = 1/0 == Infinity
But I am getting a value as attached in the Image.
How can we override the method definition to get correct result.
