HomeSort by relevance Sort by last modified time
    Searched refs:Half (Results 1 - 25 of 145) sorted by null

1 2 3 4 5 6

  /frameworks/support/core/ktx/src/main/java/androidx/core/util/
Half.kt 21 import android.util.Half
26 * Returns a [Half] instance representing given [Short].
28 * @see Half.valueOf
33 inline fun @receiver:HalfFloat Short.toHalf(): Half = Half.valueOf(this)
36 * Returns a [Half] instance representing given [Float].
38 * @see Half.valueOf
41 inline fun Float.toHalf(): Half = Half.valueOf(this)
44 * Returns a [Half] instance representing given [Double]
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
HalfTest.java 19 import android.util.Half;
27 import static android.util.Half.*;
111 assertEquals("NaN", Half.toString(NaN));
112 assertEquals("Infinity", Half.toString(POSITIVE_INFINITY));
113 assertEquals("-Infinity", Half.toString(NEGATIVE_INFINITY));
114 assertEquals("0.0", Half.toString(POSITIVE_ZERO));
115 assertEquals("-0.0", Half.toString(NEGATIVE_ZERO));
116 assertEquals("1.0", Half.toString(toHalf(1.0f)));
117 assertEquals("-1.0", Half.toString(toHalf(-1.0f)));
118 assertEquals("2.0", Half.toString(toHalf(2.0f)))
    [all...]
  /frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/
HalfTest.kt 20 import android.util.Half
26 @Test fun shortToHalf() = assertEquals(Half(1.toShort()), 1.toShort().toHalf())
28 @Test fun floatToHalf() = assertEquals(Half(1f), 1f.toHalf())
30 @Test fun doubleToHalf() = assertEquals(Half(1.0), 1.0.toHalf())
32 @Test fun stringToHalf() = assertEquals(Half("1"), "1".toHalf())
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/
half-prec-psyntax.d 2 #name: Half-precision instructions (programmer's syntax)
half-prec-neon.d 2 #name: Half-precision neon instructions
  /external/deqp/modules/glshared/
glsVertexArrayTests.hpp 318 class Half
321 static Half create (float value) { Half h; h.m_value = floatToHalf(value); return h; }
322 static Half fromFloat (float value) { Half h; h.m_value = floatToHalf(value); return h; }
325 inline Half operator+ (const Half& other) const { return create(halfToFloat(m_value) + halfToFloat(other.getValue())); }
326 inline Half operator* (const Half& other) const { return create(halfToFloat(m_value) * halfToFloat(other.getValue())); }
327 inline Half operator/ (const Half& other) const { return create(halfToFloat(m_value) / halfToFloat(other.ge (…)
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
SamplePointWideGamutVerifier.java 22 import android.util.Half;
50 float r = Half.toFloat(bitmap.getShort(index));
51 float g = Half.toFloat(bitmap.getShort(index + 2));
52 float b = Half.toFloat(bitmap.getShort(index + 4));
  /external/clang/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
188 /// \brief When true, print the half-precision floating-point type as 'half'
190 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4579689/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4630689/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4639204/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /prebuilts/clang/host/linux-x86/clang-4691093/include/clang/AST/
PrettyPrinter.h 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
189 /// \brief When true, print the half-precision floating-point type as 'half'
191 unsigned Half : 1;
  /external/elfutils/libelf/
abstract.h 35 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \
36 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \
42 TYPE_NAME (ElfW2(Bits, Ext##Half), e_ehsize) \
43 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phentsize) \
44 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phnum) \
45 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shentsize) \
46 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shnum) \
47 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shstrndx) \
120 TYPE_NAME (ElfW2(32, Ext##Half), st_shndx) \
129 TYPE_NAME (ElfW2(64, Ext##Half), st_shndx)
    [all...]
  /frameworks/base/core/java/android/util/
Half.java 26 * <p>The {@code Half} class is a wrapper and a utility class to manipulate half-precision 16-bit
27 * <a href="https://en.wikipedia.org/wiki/Half-precision_floating-point_format">IEEE 754</a>
28 * floating point data types (also called fp16 or binary16). A half-precision float can be
30 * To distinguish short values holding half-precision floats from regular short values,
49 * <p>Half-precision floating points can be useful to save memory and/or
95 public final class Half extends Number implements Comparable<Half> {
97 * The number of bits used to represent a half-precision float value.
103 * by a half-precision floating-point
    [all...]
  /external/google-breakpad/src/common/linux/
elfutils.h 50 typedef Elf32_Half Half;
63 typedef Elf64_Half Half;

Completed in 3562 milliseconds

1 2 3 4 5 6