File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dist/module/lib/validation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 ) => {
You can’t perform that action at this time.
0 commit comments