Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReinterpretBits (0.14 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

      //
      // This function is needed to test the AlmostEquals() method.
      static RawType ReinterpretBits(const Bits bits) {
        FloatingPoint fp(0);
        fp.u_.bits_ = bits;
        return fp.u_.value_;
      }
    
      // Returns the floating-point number that represent positive infinity.
      static RawType Infinity() {
        return ReinterpretBits(kExponentBitMask);
      }
    
      // Returns the maximum representable finite floating-point number.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

      //
      // This function is needed to test the AlmostEquals() method.
      static RawType ReinterpretBits(const Bits bits) {
        FloatingPoint fp(0);
        fp.u_.bits_ = bits;
        return fp.u_.value_;
      }
    
      // Returns the floating-point number that represent positive infinity.
      static RawType Infinity() {
        return ReinterpretBits(kExponentBitMask);
      }
    
      // Returns the maximum representable finite floating-point number.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top