atof.c

来自「基于4个mips核的noc设计」· C语言 代码 · 共 20 行

C
20
字号
/* * lib-src/ansi/stdlib/atof.c * ANSI/ISO 9899-1990, Section 7.10.1.1. * * double atof(const char *nptr) * Return a double containing the value represented by the string at nptr. * * This version just lets strtod() do the work, * disregarding the excess baggage of the endptr code in strtod(). */#include <stdlib.h>doubleatof(const char *nptr){	return strtod(nptr, (char **)NULL);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?