@@ -367,7 +367,7 @@ public int factorialBoolean(@SuppressWarnings("unused") boolean value) {
367
367
368
368
@ Specialization (guards = {"value < 0" })
369
369
public long factorialNegativeInt (@ SuppressWarnings ("unused" ) int value ) {
370
- throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFNED_FOR_NEGATIVE );
370
+ throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFINED_FOR_NEGATIVE );
371
371
}
372
372
373
373
@ Specialization (guards = {"0 <= value" , "value < SMALL_FACTORIALS.length" })
@@ -382,7 +382,7 @@ public PInt factorialInt(int value) {
382
382
383
383
@ Specialization (guards = {"value < 0" })
384
384
public long factorialNegativeLong (@ SuppressWarnings ("unused" ) long value ) {
385
- throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFNED_FOR_NEGATIVE );
385
+ throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFINED_FOR_NEGATIVE );
386
386
}
387
387
388
388
@ Specialization (guards = {"0 <= value" , "value < SMALL_FACTORIALS.length" })
@@ -397,7 +397,7 @@ public PInt factorialLong(long value) {
397
397
398
398
@ Specialization (guards = "isNegative(value)" )
399
399
public Object factorialPINegative (@ SuppressWarnings ("unused" ) PInt value ) {
400
- throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFNED_FOR_NEGATIVE );
400
+ throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFINED_FOR_NEGATIVE );
401
401
}
402
402
403
403
@ Specialization (guards = "isOvf(value)" )
@@ -427,7 +427,7 @@ public long factorialDoubleInfinite(@SuppressWarnings("unused") double value) {
427
427
428
428
@ Specialization (guards = "isNegative(value)" )
429
429
public PInt factorialDoubleNegative (@ SuppressWarnings ("unused" ) double value ) {
430
- throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFNED_FOR_NEGATIVE );
430
+ throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFINED_FOR_NEGATIVE );
431
431
}
432
432
433
433
@ Specialization (guards = "!isInteger(value)" )
@@ -461,7 +461,7 @@ public long factorialPFLInfinite(@SuppressWarnings("unused") PFloat value) {
461
461
462
462
@ Specialization (guards = "isNegative(value.getValue())" )
463
463
public PInt factorialPFLNegative (@ SuppressWarnings ("unused" ) PFloat value ) {
464
- throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFNED_FOR_NEGATIVE );
464
+ throw raise (PythonErrorType .ValueError , ErrorMessages .FACTORIAL_NOT_DEFINED_FOR_NEGATIVE );
465
465
}
466
466
467
467
@ Specialization (guards = "!isInteger(value.getValue())" )
0 commit comments