OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [stdlib/] [dtoastub.c] - Blame information for rev 520

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <_ansi.h>
2
#include <stdlib.h>
3
#include <reent.h>
4
#include <string.h>
5
 
6
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
7
   is a safe way of providing it to the user. */
8
#ifndef _REENT_ONLY
9
 
10
char *
11
_DEFUN (__dtoa,
12
        (d, mode, ndigits, decpt, sign, rve),
13
        double d _AND
14
        int mode _AND
15
        int ndigits _AND
16
        int *decpt _AND
17
        int *sign _AND
18
        char **rve)
19
{
20
  return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
21
}
22
 
23
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.