Add strtod

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2541 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-03-14 15:10:16 +00:00
parent a0f80361d3
commit dabb0c8f8e
6 changed files with 238 additions and 7 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* include/stdlib.h
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -133,6 +133,7 @@ EXTERN double_t strtod(const char *, char **);
#ifdef CONFIG_HAVE_LONG_LONG
#define atoll(nptr) strtoll((nptr), NULL, 10);
#endif
#define atof(nptr) strtod((nptr), NULL);
/* Memory Management */