28 #ifndef _RTXBIGFLOAT_H_ 29 #define _RTXBIGFLOAT_H_ 39 typedef struct OSBigFloat
88 (
OSCTXT* pctxt, OSBigFloat* pFloat,
const char* value);
109 (
OSCTXT* pctxt, OSBigFloat* pFloat,
const char* value, OSSIZE len);
149 (
OSCTXT* pctxt,
const OSBigFloat* pFloat,
char* str, OSSIZE strSize);
EXTERNRT int rtxBigFloatSetStrn(OSCTXT *pctxt, OSBigFloat *pFloat, const char *value, OSSIZE len)
This function sets an OSBigFloat from a character string using the given number of characters...
EXTERNRT void rtxBigFloatInit(OSBigFloat *pFloat)
This function initializes a big float structure.
EXTERNRT int rtxBigFloatSetStr(OSCTXT *pctxt, OSBigFloat *pFloat, const char *value)
This function sets an OSBigFloat from a null-terminated decimal string.
EXTERNRT OSBOOL rtxBigFloatToReal(const OSBigFloat *pFloat, OSREAL *pvalue)
This function converts the given floating point number, which must be base 2, into an OSREAL...
EXTERNRT void rtxBigFloatFree(OSCTXT *pctxt, OSBigFloat *pFloat)
This function frees internal memory within the big float structure.
Run-time context structure.
EXTERNRT OSSIZE rtxBigFloatStringSize(OSBigFloat *pFloat)
Return an approximate size for the string returned by rtxBigFloatToString.
EXTERNRT int rtxBigFloatToString(OSCTXT *pctxt, const OSBigFloat *pFloat, char *str, OSSIZE strSize)
This function is used to convert a floating point number to a string.