5#ifndef __FAST_ATOF_H_INCLUDED__
6#define __FAST_ATOF_H_INCLUDED__
20#define IRR_ATOF_TABLE_SIZE 17
61 while ( ( *
in >=
'0') && ( *
in <=
'9' ))
128 if (
in >=
'0' &&
in <=
'9')
130 else if (
in >=
'a' &&
in <=
'f')
131 return 10u +
in -
'a';
132 else if (
in >=
'A' &&
in <=
'F')
133 return 10u +
in -
'A';
161 if ((*
in >=
'0') && (*
in <=
'9'))
163 else if ((*
in >=
'A') && (*
in <=
'F'))
165 else if ((*
in >=
'a') && (*
in <=
'f'))
208 if ((*
in >=
'0') && (*
in <=
'7'))
273 while ( ( *
in >=
'0') && ( *
in <=
'9' ) )
288 while ( ( *
in >=
'0') && ( *
in <=
'9' ) )
340 if (
'e' == *
in ||
'E' == *
in)
#define IRRLICHT_API
Set FPU settings.
Axis aligned bounding box in 3d dimensional space.
#define IRR_ATOF_TABLE_SIZE
u32 strtoul8(const char *in, const char **out=0)
Convert a simple string of base 8 digits into an unsigned 32 bit integer.
f32 strtof10(const char *in, const char **out=0)
Converts a sequence of digits into a whole positive floating point value.
const char * fast_atof_move(const char *in, f32 &result)
Provides a fast function for converting a string into a float.
s32 strtol10(const char *in, const char **out=0)
Convert a simple string of base 10 digits into a signed 32 bit integer.
u32 ctoul16(char in)
Convert a hex-encoded character to an unsigned integer.
u32 strtoul16(const char *in, const char **out=0)
Convert a simple string of base 16 digits into an unsigned 32 bit integer.
IRRLICHT_API irr::core::stringc LOCALE_DECIMAL_POINTS
Selection of characters which count as decimal point in fast_atof.
u32 strtoul_prefix(const char *in, const char **out=0)
Convert a C-style prefixed string (hex, oct, integer) into an unsigned 32 bit integer.
const float fast_atof_table[17]
u32 strtoul10(const char *in, const char **out=0)
Convert a simple string of base 10 digits into an unsigned 32 bit integer.
float fast_atof(const char *floatAsString, const char **out=0)
Convert a string to a floating point number.
Everything in the Irrlicht Engine can be found in this namespace.
float f32
32 bit floating point variable.
unsigned int u32
32 bit unsigned variable.
signed int s32
32 bit signed variable.