Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
k32f Struct Reference

Description

Represents a 32-bit floating-point number.

k32f supports the kdat5 and kdat6 serialization protocols.

Inheritance diagram for k32f:
Inheritance graph

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...
 
- Public Member Functions inherited from kValue
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   (1.175494351e-38F)
 k32f smallest positive value.
 
#define k32F_MAX   (3.402823466e+38F)
 k32f largest positive value.
 
#define k32F_NULL   (-k32F_MAX)
 k32f invalid value.
 

The documentation for this struct was generated from the following file: