Changeset 90c3b1c for src/libcfa/stdlib.c
- Timestamp:
- Mar 2, 2016, 4:59:19 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- bdad1679
- Parents:
- ac1ed49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/stdlib.c
rac1ed49 r90c3b1c 10 10 // Created On : Thu Jan 28 17:10:29 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Feb 10 15:45:56201613 // Update Count : 14 012 // Last Modified On : Tue Feb 23 21:02:54 2016 13 // Update Count : 142 14 14 // 15 15 … … 123 123 return ulli; 124 124 } 125 125 126 float ato( const char * ptr ) { 126 127 float f; … … 138 139 return ld; 139 140 } 141 140 142 float _Complex ato( const char * ptr ) { 141 143 float re, im; … … 172 174 return strtoull( sptr, eptr, base ); 173 175 } 176 174 177 float strto( const char * sptr, char ** eptr ) { 175 178 return strtof( sptr, eptr ); … … 181 184 return strtold( sptr, eptr ); 182 185 } 186 183 187 float _Complex strto( const char * sptr, char ** eptr ) { 184 188 float re, im;
Note: See TracChangeset
for help on using the changeset viewer.