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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [stdlib/] [dtoastub.c] - Rev 1774

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

#include <_ansi.h>
#include <stdlib.h>
#include <reent.h>
#include <string.h>
 
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this 
   is a safe way of providing it to the user. */
#ifndef NO_REENT
 
char *
_DEFUN (__dtoa,
	(d, mode, ndigits, decpt, sign, rve),
	double d _AND
	int mode _AND
	int ndigits _AND
	int *decpt _AND
	int *sign _AND
	char **rve)
{
  return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
}
 
#endif
 

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

powered by: WebSVN 2.1.0

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