/home/ntakagi/work/STLport-5.1.5/src/num_get_float.cpp File Reference

#include "stlport_prefix.h"
#include <limits>
#include <locale>
#include <istream>

Go to the source code of this file.

Defines

#define bit11   ULL(0x7ff)
#define exponent_mask   (bit11 << 52)
#define TEN_1   0
#define TEN_27   26
#define TEN_M28   37
#define NUM_HI_P   11
#define NUM_HI_N   13
#define _Stl_HIBITULL   (ULL(1) << 63)

Functions

_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE
void _STLP_CALL 
_Initialize_get_float (const ctype< wchar_t > &ct, wchar_t &Plus, wchar_t &Minus, wchar_t &pow_e, wchar_t &pow_E, wchar_t *digits)
void _Stl_set_exponent (uint64 &val, uint64 exp)
void _STLP_CALL __string_to_float (const __iostring &v, float &val)
void _STLP_CALL __string_to_float (const __iostring &v, double &val)
void _STLP_CALL __string_to_float (const __iostring &v, long double &val)


Define Documentation

#define _Stl_HIBITULL   (ULL(1) << 63)

Definition at line 286 of file num_get_float.cpp.

#define bit11   ULL(0x7ff)

Definition at line 145 of file num_get_float.cpp.

Referenced by _Stl_set_exponent().

#define exponent_mask   (bit11 << 52)

Definition at line 146 of file num_get_float.cpp.

Referenced by _Stl_set_exponent().

#define NUM_HI_N   13

Definition at line 284 of file num_get_float.cpp.

#define NUM_HI_P   11

Definition at line 283 of file num_get_float.cpp.

#define TEN_1   0

Definition at line 280 of file num_get_float.cpp.

#define TEN_27   26

Definition at line 281 of file num_get_float.cpp.

#define TEN_M28   37

Definition at line 282 of file num_get_float.cpp.


Function Documentation

void _STLP_CALL __string_to_float ( const __iostring v,
long double &  val 
)

void _STLP_CALL __string_to_float ( const __iostring v,
double &  val 
)

void _STLP_CALL __string_to_float ( const __iostring v,
float &  val 
)

_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE void _STLP_CALL _Initialize_get_float ( const ctype< wchar_t > &  ct,
wchar_t &  Plus,
wchar_t &  Minus,
wchar_t &  pow_e,
wchar_t &  pow_E,
wchar_t *  digits 
)

Definition at line 87 of file num_get_float.cpp.

Referenced by __read_float().

void _Stl_set_exponent ( uint64 &  val,
uint64  exp 
) [inline]

Definition at line 153 of file num_get_float.cpp.

References bit11, and exponent_mask.



Generated on Mon Mar 10 15:32:47 2008 by  doxygen 1.5.1