Skip to content

Commit c08561e

Browse files
author
Sascha Goldhofer
committed
chore: update dist
1 parent 1389736 commit c08561e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/module/lib/validation/keyword.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const KeywordValidation = {
289289
const valuePrecision = getPrecision(value);
290290
const multiplePrecision = getPrecision(schema.multipleOf);
291291
if (valuePrecision > multiplePrecision) {
292-
// higher precision of value can never be multiple of value
292+
// value with higher precision then multipleOf-precision can never be multiple
293293
return draft.errors.multipleOfError({
294294
multipleOf: schema.multipleOf,
295295
value,
@@ -308,7 +308,8 @@ const KeywordValidation = {
308308
schema
309309
});
310310
}
311-
// also check https://stackoverflow.com/questions/1815367/catch-and-compute-overflow-during-multiplication-of-two-large-integers
311+
// maybe also check overflow
312+
// https://stackoverflow.com/questions/1815367/catch-and-compute-overflow-during-multiplication-of-two-large-integers
312313
return undefined;
313314
},
314315
not: (draft, schema, value, pointer) => {

0 commit comments

Comments
 (0)