Searched refs:maxUlps (Results 1 - 3 of 3) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java474 * Two float numbers are considered equal if there are {@code (maxUlps - 1)}
483 * @param maxUlps {@code (maxUlps - 1)} is the number of floating point
485 * @return {@code true} if there are fewer than {@code maxUlps} floating
489 public static boolean equals(float x, float y, int maxUlps) { argument
490 // Check that "maxUlps" is non-negative and small enough so that
492 assert maxUlps > 0 && maxUlps < NAN_GAP;
505 final boolean isEqual = FastMath.abs(xInt - yInt) <= maxUlps;
512 * by {@link #equals(float,float,int) equals(x, y, maxUlps)}
522 equalsIncludingNaN(float x, float y, int maxUlps) argument
679 equals(double x, double y, int maxUlps) argument
710 equalsIncludingNaN(double x, double y, int maxUlps) argument
[all...]
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h885 // maxUlps - a and b can be apart by maxUlps binary numbers.
886 inline bool isEqualUlps(const mpreal& a, const mpreal& b, int maxUlps);
2065 inline bool isEqualUlps(const mpreal& a, const mpreal& b, int maxUlps)
2067 return abs(a - b) <= machine_epsilon((max)(abs(a), abs(b))) * maxUlps;
/external/conscrypt/benchmark-android/
H A Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties.java package vogar ...

Completed in 106 milliseconds