- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for InfinityF (0.28 seconds)
-
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
checkTryParse(Double.POSITIVE_INFINITY, "Infinity"); checkTryParse(Double.POSITIVE_INFINITY, "+Infinity"); checkTryParse(Double.NEGATIVE_INFINITY, "-Infinity"); } private static final String[] BAD_TRY_PARSE_INPUTS = { "", "+-", "+-0", " 5", "32 ", " 55 ", "infinity", "POSITIVE_INFINITY", "0x9A", "0x9A.bE-5", ".",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
data = {"value": Decimal("NaN")} assert isnan(jsonable_encoder(data)["value"]) def test_decimal_encoder_infinity(): data = {"value": Decimal("Infinity")} assert isinf(jsonable_encoder(data)["value"]) data = {"value": Decimal("-Infinity")} assert isinf(jsonable_encoder(data)["value"]) def test_encode_deque_encodes_child_models(): class Model(BaseModel): test: strCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
return readShort() & 0xffff; } /** * Reads a Windows FILETIME value and converts it to a Date. * @return the Date object, or null if the time represents infinity * @throws IOException if an I/O error occurs */ public Date readFiletime() throws IOException { Date date = null; final long last = readUnsignedInt();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* Consequently: * 1. If the previous mean is finite and the new value is non-finite then the new mean is that * value (whether it is NaN or infinity). * 2. If the new value is finite and the previous mean is non-finite then the mean is unchanged * (whether it is NaN or infinity). * 3. If both the previous mean and the new value are non-finite and... * 3a. ...either or both is NaN (so mean != value) then the new mean is NaN.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
// Test NaN builder = new DefaultMessageBuilder(); format.formatRate(builder, Double.NaN); assertEquals("? B/s", builder.build()); // Test Infinity builder = new DefaultMessageBuilder(); format.formatRate(builder, Double.POSITIVE_INFINITY); assertEquals("? B/s", builder.build()); builder = new DefaultMessageBuilder();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
affine coordinates (x, y). x and y are still // Montgomery domain elements. The point can't be the point at infinity. type p256AffinePoint struct { x, y fiat.P256Element } func (p *p256AffinePoint) Projective() *P256Point { pp := &P256Point{x: p.x, y: p.y} pp.z.One() return pp } // AddAffine sets q = p1 + p2, if infinity == 0, and to p1 if infinity == 1. // p2 can't be the point at infinity as it can't be represented in affine // coordinates, instead callers can set p2 to an arbitrary point and set...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Quantiles.java
* Double#POSITIVE_INFINITY POSITIVE_INFINITY} sort to the beginning and the end of the dataset, as * you would expect. * * <p>If required to do a weighted average between an infinity and a finite value, or between an * infinite value and itself, the infinite value is returned. If required to do a weighted average * between {@link Double#NEGATIVE_INFINITY NEGATIVE_INFINITY} and {@link Double#POSITIVE_INFINITYCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 30.1K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Doubles.java
String hex = "(?:[0-9a-fA-F]+#(?:\\.[0-9a-fA-F]*#)?|\\.[0-9a-fA-F]+#)"; String completeHex = "0[xX]" + hex + "[pP][+-]?\\d+#[fFdD]?"; String fpPattern = "[+-]?(?:NaN|Infinity|" + completeDec + "|" + completeHex + ")"; fpPattern = fpPattern.replace( "#", "+" ); return java.util.regex.Pattern .compile(fpPattern);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 27.6K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
affine coordinates (x, y). x and y are still // Montgomery domain elements. The point can't be the point at infinity. type p256AffinePoint struct { x, y fiat.P256Element } func (p *p256AffinePoint) Projective() *P256Point { pp := &P256Point{x: p.x, y: p.y} pp.z.One() return pp } // AddAffine sets q = p1 + p2, if infinity == 0, and to p1 if infinity == 1. // p2 can't be the point at infinity as it can't be represented in affine // coordinates, instead callers can set p2 to an arbitrary point and set...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
guava/src/com/google/common/math/LongMath.java
// algorithm would lead to an overflow. static boolean fitsInInt(long x) { return (int) x == x; } /** * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This * method is resilient to overflow. * * @since 14.0 */ public static long mean(long x, long y) { // Efficient method for computing the arithmetic mean.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 03 21:01:09 GMT 2025 - 46.8K bytes - Click Count (0)