Zen API
|
Represents a 32-bit floating-point number.
k32f supports the kdat5 and kdat6 serialization protocols.
Public Member Functions | |
kStatus | k32f_Format (k32f value, kChar *buffer, kSize capacity) |
Converts k32f value to string. More... | |
kStatus | k32f_Parse (k32f *value, const kChar *str) |
Converts string to k32f value. More... | |
![]() | |
kBool | kValue_Equals (kType type, const void *value, const void *other) |
Determines whether a value is equal to another value. More... | |
kSize | kValue_HashCode (kType type, const void *value) |
Gets a hash code representing the state of this value. More... | |
void | kValue_Import (kType type, void *value, const void *source) |
Imports the content of another value into this value. More... | |
Related | |
#define | k32F_MIN |
k32f smallest positive value. | |
#define | k32F_MAX |
k32f largest positive value. | |
#define | k32F_NULL |
k32f invalid value. | |
![]() | |
#define | kValue_EqualsT(kType_type, TPtr_value, TPtr_other) |
Determines whether a value is equal to another value. More... | |
#define | kValue_HashCodeT(kType_type, TPtr_value) |
Gets a hash code representing the state of this value. More... | |
Additional Inherited Members | |
![]() | |
kBool | kValue_VEquals (kType type, const void *value, const void *other) |
Protected virtual method that compares two values for equality. More... | |
kSize | kValue_VHashCode (kType type, const void *value) |
Protected virtual method that calculates a hash code representing the value instance. More... | |
void | kValue_VImport (kType type, void *value, const void *source) |
Protected virtual method that imports data from an external source into an array-value type. More... | |