a scalar normalized signed byte More...
Public Member Functions | |
ByteN (float f) | |
constructor taking a float to convert to normalized signed byte | |
float | ToFloat () |
return the float value of this | |
bool | Equals (ByteN v) |
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 Member Functions | |
static bool | operator== (ByteN v1, ByteN v2) |
equality operator | |
static bool | operator!= (ByteN v1, ByteN v2) |
not equals operator | |
static implicit | operator float (ByteN v) |
float casting operator | |
static | operator ByteN (float f) |
normalized signed byte casting operator | |
Public Attributes | |
sbyte | Bits |
the byte data |
a scalar normalized signed byte
ByteN | ( | float | f | ) |
constructor taking a float to convert to normalized signed byte
f | the float to convert |
bool Equals | ( | ByteN | v | ) |
equality test
v | the value 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 operator ByteN | ( | float | f | ) | [explicit, static] |
normalized signed byte casting operator
f | the float to convert to normalized signed byte |
static implicit operator float | ( | ByteN | v | ) | [static] |
float casting operator
v | the value to convert to float |
not equals operator
v1 | value 1 |
v2 | value 2 |
equality operator
v1 | value 1 |
v2 | value 2 |
float ToFloat | ( | ) |
return the float value of this
override string ToString | ( | ) |
get the string representation of float value
sbyte Bits |
the byte data