Changes in uspace/lib/posix/stdlib.c [4f4b4e7:63fc519] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdlib.c
r4f4b4e7 r63fc519 37 37 38 38 #include "stdlib.h" 39 #include " common.h"39 #include "internal/common.h" 40 40 41 41 /** … … 77 77 78 78 /** 79 * 79 * Converts a string representation of a floating-point number to 80 * its native representation. See posix_strtold(). 81 * 80 82 * @param nptr 81 83 * @param endptr … … 84 86 float posix_strtof(const char *restrict nptr, char **restrict endptr) 85 87 { 86 // TODO 87 not_implemented(); 88 return (float) posix_strtold(nptr, endptr); 88 89 } 89 90 90 91 /** 91 * 92 * Converts a string representation of a floating-point number to 93 * its native representation. See posix_strtold(). 94 * 92 95 * @param nptr 93 96 * @param endptr … … 96 99 double posix_strtod(const char *restrict nptr, char **restrict endptr) 97 100 { 98 // TODO 99 not_implemented(); 100 } 101 102 /** 103 * 104 * @param nptr 105 * @param endptr 106 * @return 107 */ 108 long double posix_strtold(const char *restrict nptr, char **restrict endptr) 109 { 110 // TODO 111 not_implemented(); 101 return (double) posix_strtold(nptr, endptr); 112 102 } 113 103
Note:
See TracChangeset
for help on using the changeset viewer.