ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
1.0
ESP8266ILI9341DisplayProject
|
String to number conversions with floating point support. More...
Go to the source code of this file.
Functions | |
MEMSPACE int | atodigit (int c, int radix) |
Convert ASCII character to radix based digit , or -1. More... | |
MEMSPACE long | atoh (const char *p) |
Convert ASCII hex string to long integer. More... | |
MEMSPACE long | aton (char *str, int base) |
Convert ASCII string to number in a given base. More... | |
MEMSPACE int | mul10str (uint8_t *str, int size) |
Fast multiply number of any size by 10. More... | |
MEMSPACE long | strtol (const char *nptr, char **endptr, int base) |
Convert ASCII string to number in a given base. More... | |
MEMSPACE long long | strtoll (const char *nptr, char **endptr, int base) |
Convert ASCII string to number in a given base. More... | |
MEMSPACE int | atoi (const char *str) |
Convert ASCII string to number in base 10. More... | |
MEMSPACE long | atol (const char *str) |
Convert ASCII string to number in base 10. More... | |
String to number conversions with floating point support.
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file mathio.c.
MEMSPACE int atodigit | ( | int | c, |
int | radix | ||
) |
MEMSPACE long atoh | ( | const char * | p | ) |
MEMSPACE int atoi | ( | const char * | str | ) |
Convert ASCII string to number in base 10.
[in] | str | string |
Definition at line 281 of file mathio.c.
Referenced by html_status(), main(), parse_http_request(), posix_tests(), ReadBdf(), and user_tests().
MEMSPACE long atol | ( | const char * | str | ) |
Convert ASCII string to number in base 10.
[in] | str | string |
Definition at line 295 of file mathio.c.
Referenced by fatfs_tests().
MEMSPACE long aton | ( | char * | str, |
int | base | ||
) |
MEMSPACE long strtol | ( | const char * | nptr, |
char ** | endptr, | ||
int | base | ||
) |
Convert ASCII string to number in a given base.
[in] | nptr | string |
[in] | endptr | pointer to string pointer return value |
[in] | base | radix |
Definition at line 136 of file mathio.c.
Referenced by atoh(), atoi(), atol(), aton(), get_value(), main(), posix_tests(), and setdate_r().