URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 1010 |
Rev 1765 |
#include <_ansi.h>
|
#include <_ansi.h>
|
#include <stdlib.h>
|
#include <stdlib.h>
|
#include <reent.h>
|
#include <reent.h>
|
#include <string.h>
|
#include <string.h>
|
|
|
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
|
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
|
is a safe way of providing it to the user. */
|
is a safe way of providing it to the user. */
|
#ifndef NO_REENT
|
#ifndef NO_REENT
|
|
|
char *
|
char *
|
_DEFUN (__dtoa,
|
_DEFUN (__dtoa,
|
(d, mode, ndigits, decpt, sign, rve),
|
(d, mode, ndigits, decpt, sign, rve),
|
double d _AND
|
double d _AND
|
int mode _AND
|
int mode _AND
|
int ndigits _AND
|
int ndigits _AND
|
int *decpt _AND
|
int *decpt _AND
|
int *sign _AND
|
int *sign _AND
|
char **rve)
|
char **rve)
|
{
|
{
|
return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
|
return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
|
}
|
}
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.