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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [dtoastub.c] - Blame information for rev 455

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 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 NO_REENT
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.