Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isnan (0.01 sec)

  1. android/guava/src/com/google/common/math/DoubleUtils.java

    import static java.lang.Double.MAX_EXPONENT;
    import static java.lang.Double.MIN_EXPONENT;
    import static java.lang.Double.POSITIVE_INFINITY;
    import static java.lang.Double.doubleToRawLongBits;
    import static java.lang.Double.isNaN;
    import static java.lang.Double.longBitsToDouble;
    import static java.lang.Math.getExponent;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tests/test_jsonable_encoder.py

    import warnings
    from collections import deque
    from dataclasses import dataclass
    from datetime import datetime, timezone
    from decimal import Decimal
    from enum import Enum
    from math import isinf, isnan
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import Optional, TypedDict
    
    import pytest
    from fastapi._compat import Undefined
    from fastapi.encoders import jsonable_encoder
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/DoubleUtils.java

    import static java.lang.Double.MAX_EXPONENT;
    import static java.lang.Double.MIN_EXPONENT;
    import static java.lang.Double.POSITIVE_INFINITY;
    import static java.lang.Double.doubleToRawLongBits;
    import static java.lang.Double.isNaN;
    import static java.lang.Double.longBitsToDouble;
    import static java.lang.Math.getExponent;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

            format(builder, size, unit, false);
        }
    
        public void formatRate(MessageBuilder builder, double rate) {
            // Handle invalid rates gracefully (including negative values)
            if (Double.isNaN(rate) || Double.isInfinite(rate) || rate < 0) {
                builder.append("? B/s");
                return;
            }
    
            ScaleUnit unit = ScaleUnit.getScaleUnit(Math.round(rate));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 16 10:09:21 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LinearTransformation.java

         * the transformation is vertical. (If it is zero, the transformation is horizontal.)
         */
        public LinearTransformation withSlope(double slope) {
          checkArgument(!Double.isNaN(slope));
          if (isFinite(slope)) {
            double yIntercept = y1 - x1 * slope;
            return new RegularLinearTransformation(slope, yIntercept);
          } else {
            return new VerticalLinearTransformation(x1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top