added __strtold_internal and __strtof_internal for glibc print_fp
these functions should be placed in glibc one day git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11639 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1612,6 +1612,24 @@ __strtod_internal(const char *number, char **_end, int group)
|
|||||||
return strtod(number, _end);
|
return strtod(number, _end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// XXX this is not correct
|
||||||
|
|
||||||
|
long double __strtold_internal(const char *number, char **_end, int group);
|
||||||
|
|
||||||
|
long double
|
||||||
|
__strtold_internal(const char *number, char **_end, int group)
|
||||||
|
{
|
||||||
|
return __strtod_internal(number, _end, group);
|
||||||
|
}
|
||||||
|
|
||||||
|
float __strtof_internal(const char *number, char **_end, int group);
|
||||||
|
|
||||||
|
float
|
||||||
|
__strtof_internal(const char *number, char **_end, int group)
|
||||||
|
{
|
||||||
|
return __strtod_internal(number, _end, group);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* removed from the build, is only used by __dtoa() */
|
/* removed from the build, is only used by __dtoa() */
|
||||||
#if 0
|
#if 0
|
||||||
|
|||||||
Reference in New Issue
Block a user