MCPcopy Index your code
hub / github.com/questdb/questdb / equals

Method equals

core/src/main/java/io/questdb/std/Numbers.java:810–812  ·  view source on GitHub ↗
(float l, float r)

Source from the content-addressed store, hash-verified

808 }
809
810 public static boolean equals(float l, float r) {
811 return (isNull(l) && isNull(r)) || Math.abs(l - r) <= DOUBLE_TOLERANCE;
812 }
813
814 public static boolean equals(double l, double r) {
815 return (isNull(l) && isNull(r)) || Math.abs(l - r) <= DOUBLE_TOLERANCE;

Callers 9

testDoubleEqualsMethod · 0.95
getBoolMethod · 0.95
getBoolMethod · 0.95
getBoolMethod · 0.95
getDoubleMethod · 0.95
indexOfMethod · 0.95
toSinkMethod · 0.95
compareMethod · 0.95
arrayEqualsMethod · 0.95

Calls 1

isNullMethod · 0.95

Tested by 1

testDoubleEqualsMethod · 0.76