File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -983,7 +983,7 @@ <h4 style="font-size:160%;margin:7px">Trigonometry</h4>
983983
984984 let radian = null ;
985985
986- if ( x > 0.706 ) {
986+ if ( x >= 0.707 ) {
987987 // Direct match via sine
988988 const match = closestValue ( x , 'sin' ) ;
989989 if ( ! match ?. angle ) return null ;
@@ -1008,7 +1008,7 @@ <h4 style="font-size:160%;margin:7px">Trigonometry</h4>
10081008
10091009 let radian = null ;
10101010
1011- if ( x < 0.708 ) {
1011+ if ( x <= 0.707 ) {
10121012 // Direct match via cosine
10131013 const match = closestValue ( x , 'cos' ) ;
10141014 if ( ! match ?. angle ) return null ;
@@ -1033,7 +1033,7 @@ <h4 style="font-size:160%;margin:7px">Trigonometry</h4>
10331033
10341034 let radian = null ;
10351035
1036- if ( x > 1 ) {
1036+ if ( x >= 1 ) {
10371037 // Direct match
10381038 const match = closestValue ( x , 'tan' ) ;
10391039 if ( ! match ?. angle ) return null ;
You can’t perform that action at this time.
0 commit comments