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

Description

Represents a 64-bit floating-point number.

k64f supports the kdat5 and kdat6 serialization protocols.

Inheritance diagram for k64f:
Inheritance graph

Public Member Functions

kStatus k64f_Format (k64f value, kChar *buffer, kSize capacity)
 Converts k64f value to string. More...
 
k32s k64f_IsNanOrInf (k64f value)
 Reports whether the given number is equivalent to the double-precision representation of NAN or INF. More...
 
kStatus k64f_Parse (k64f *value, const kChar *str)
 Converts string to k64f 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 k64F_MIN
 k64f smallest positive value.
 
#define k64F_MAX
 k64f largest positive value.
 
#define k64F_NULL
 k64f invalid value.
 
#define k64F_DIGITS
 Default number of digits used for encoding k64f as a decimal text value.
 

Additional Inherited Members

- Protected Member Functions inherited from kValue
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...
 

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