initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1702 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2002, OpenBeOS Project.
|
||||||
|
* All rights reserved.
|
||||||
|
* Distributed under the terms of the OpenBeOS license.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* atof.c:
|
||||||
|
* implements the standard C library function atof()
|
||||||
|
* (merely a wrapper for strtod(), actually)
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Author(s):
|
||||||
|
* Daniel Reinhold ([email protected])
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
|
double
|
||||||
|
atof(const char *num)
|
||||||
|
{
|
||||||
|
return strtod(num, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user