a scalar half [詳細]
Public メソッド | |
Half (float f) | |
constructor taking a float to convert to half | |
float | ToFloat () |
return the float value of this | |
bool | Equals (Half h) |
equality test | |
override bool | Equals (Object o) |
equality test | |
override string | ToString () |
get the string representation of float value | |
override int | GetHashCode () |
gets the hash code for this | |
Static Public メソッド | |
static bool | operator== (Half h1, Half h2) |
equality operator | |
static bool | operator!= (Half h1, Half h2) |
not equals operator | |
static implicit | operator float (Half h) |
float casting operator | |
static | operator Half (float f) |
half casting operator | |
Public 変数 | |
ushort | Bits |
the half data |
a scalar half
Half | ( | float | f | ) |
constructor taking a float to convert to half
f | the float to convert |
bool Equals | ( | Half | h | ) |
equality test
h | the half to compare this to |
override bool Equals | ( | Object | o | ) |
equality test
o | the object to compare this to |
override int GetHashCode | ( | ) |
gets the hash code for this
static implicit operator float | ( | Half | h | ) | [static] |
float casting operator
h | the half to convert to float |
static operator Half | ( | float | f | ) | [explicit, static] |
half casting operator
f | the float to convert to half |
not equals operator
h1 | half 1 |
h2 | half 2 |
equality operator
h1 | half 1 |
h2 | half 2 |
float ToFloat | ( | ) |
return the float value of this
override string ToString | ( | ) |
get the string representation of float value
ushort Bits |
the half data