diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/bigInteger/ModNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/bigInteger/ModNode.java index 5dae66d6fe58..843d9c945388 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/bigInteger/ModNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/bigInteger/ModNode.java @@ -35,7 +35,8 @@ Object doLong(EnsoBigInteger _this, long that) { @Specialization double doDouble(EnsoBigInteger _this, double that) { - // No need to trap, as floating-point modulo returns NaN for division by zero instead of throwing. + // No need to trap, as floating-point modulo returns NaN for division by zero instead of + // throwing. return BigIntegerOps.toDouble(_this.getValue()) % that; } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java index 3192b279bb22..624d069c933f 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java @@ -31,7 +31,8 @@ Object doLong(long _this, long that) { @Specialization double doDouble(long _this, double that) { - // No need to trap, as floating-point modulo returns NaN for division by zero instead of throwing. + // No need to trap, as floating-point modulo returns NaN for division by zero instead of + // throwing. return _this % that; } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java index e49e08843aa3..09c940bcce0e 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java @@ -382,37 +382,27 @@ private void registerDecimalMethods(Language language, ModuleScope scope) { language)); } - /** - * @return the Int64 atom constructor. - */ + /** @return the Int64 atom constructor. */ public AtomConstructor getSmallInteger() { return smallInteger; } - /** - * @return the Big_Integer atom constructor. - */ + /** @return the Big_Integer atom constructor. */ public AtomConstructor getBigInteger() { return bigInteger; } - /** - * @return the Integer atom constructor - */ + /** @return the Integer atom constructor */ public AtomConstructor getInteger() { return integer; } - /** - * @return the Number atom constructor - */ + /** @return the Number atom constructor */ public AtomConstructor getNumber() { return number; } - /** - * @return the Decimal atom constructor - */ + /** @return the Decimal atom constructor */ public AtomConstructor getDecimal() { return decimal; }