@@ -141,7 +141,7 @@ public double sqrtDouble(double value,
141141 }
142142
143143 @ Specialization (guards = "!isNumber(value)" )
144- public double acosh (Object value ,
144+ public double sqrt (Object value ,
145145 @ Cached ("create(__FLOAT__)" ) LookupAndCallUnaryNode dispatchFloat ,
146146 @ Cached ("create()" ) SqrtNode sqrtNode ) {
147147 Object result = dispatchFloat .executeObject (value );
@@ -1027,7 +1027,7 @@ public double asinDouble(double value,
10271027 }
10281028
10291029 @ Specialization (guards = "!isNumber(value)" )
1030- public double acosh (Object value ,
1030+ public double asin (Object value ,
10311031 @ Cached ("create(__FLOAT__)" ) LookupAndCallUnaryNode dispatchFloat ,
10321032 @ Cached ("create()" ) AsinNode asinNode ) {
10331033 Object result = dispatchFloat .executeObject (value );
@@ -1518,7 +1518,7 @@ public abstract static class PowNode extends PythonBinaryBuiltinNode {
15181518 if (leftFloat == PNone .NO_VALUE ) {
15191519 throw raise (TypeError , "must be real number, not %p" , left );
15201520 }
1521- Object rightFloat = dispatchLeftFloat .executeObject (right );
1521+ Object rightFloat = dispatchRightFloat .executeObject (right );
15221522 if (leftFloat == PNone .NO_VALUE ) {
15231523 throw raise (TypeError , "must be real number, not %p" , right );
15241524 }
@@ -1556,17 +1556,17 @@ public abstract static class Atan2Node extends PythonBinaryBuiltinNode {
15561556
15571557 @ Specialization
15581558 double atan2 (long left , long right ) {
1559- return atan2DD (( double ) left , ( double ) right );
1559+ return atan2DD (left , right );
15601560 }
15611561
15621562 @ Specialization
15631563 double atan2 (long left , double right ) {
1564- return atan2DD (( double ) left , right );
1564+ return atan2DD (left , right );
15651565 }
15661566
15671567 @ Specialization
15681568 double atan2 (double left , long right ) {
1569- return atan2DD (left , ( double ) right );
1569+ return atan2DD (left , right );
15701570 }
15711571
15721572 @ Specialization
@@ -1576,7 +1576,7 @@ public abstract static class Atan2Node extends PythonBinaryBuiltinNode {
15761576
15771577 @ Specialization
15781578 double atan2 (PInt left , long right ) {
1579- return atan2DD (left .doubleValue (), ( double ) right );
1579+ return atan2DD (left .doubleValue (), right );
15801580 }
15811581
15821582 @ Specialization
@@ -1586,7 +1586,7 @@ public abstract static class Atan2Node extends PythonBinaryBuiltinNode {
15861586
15871587 @ Specialization
15881588 double atan2 (long left , PInt right ) {
1589- return atan2DD (( double ) left , right .doubleValue ());
1589+ return atan2DD (left , right .doubleValue ());
15901590 }
15911591
15921592 @ Specialization
@@ -1608,7 +1608,7 @@ public abstract static class Atan2Node extends PythonBinaryBuiltinNode {
16081608 if (leftFloat == PNone .NO_VALUE ) {
16091609 throw raise (TypeError , "must be real number, not %p" , left );
16101610 }
1611- Object rightFloat = dispatchLeftFloat .executeObject (right );
1611+ Object rightFloat = dispatchRightFloat .executeObject (right );
16121612 if (leftFloat == PNone .NO_VALUE ) {
16131613 throw raise (TypeError , "must be real number, not %p" , right );
16141614 }
0 commit comments