Changeset c3ebf37 for src/libcfa/stdlib.c
- Timestamp:
- Mar 4, 2017, 10:00:46 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- d107010
- Parents:
- 6291725
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/stdlib.c
r6291725 rc3ebf37 10 10 // Created On : Thu Jan 28 17:10:29 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jul 6 14:28:57 201613 // Update Count : 1 6912 // Last Modified On : Thu Feb 23 23:27:02 2017 13 // Update Count : 171 14 14 // 15 15 … … 231 231 //--------------------------------------- 232 232 233 char abs(char v ) { return abs( (int)v ); }234 long int abs( long int v ) { return labs( v ); }235 long long int abs( long long int v ) { return llabs( v ); }233 unsigned char abs( signed char v ) { return abs( (int)v ); } 234 unsigned long int abs( long int v ) { return labs( v ); } 235 unsigned long long int abs( long long int v ) { return llabs( v ); } 236 236 float abs( float x ) { return fabsf( x ); } 237 237 double abs( double x ) { return fabs( x ); }
Note: See TracChangeset
for help on using the changeset viewer.