Changeset 37218fc for src/libcfa/stdlib
- Timestamp:
- Apr 11, 2016, 11:51:07 AM (9 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:
- 37f0da8
- Parents:
- 3aba311 (diff), e55ca05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/stdlib
r3aba311 r37218fc 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Mar 22 22:34:24 201613 // Update Count : 6912 // Last Modified On : Fri Apr 1 22:26:14 2016 13 // Update Count : 73 14 14 // 15 15 … … 18 18 extern "C" { 19 19 #include <stddef.h> // size_t 20 #include <math.h> // floor 20 21 } // extern "C" 21 22 … … 80 81 char abs( char ); 81 82 extern "C" { 82 int abs( int ); // use default C routine for int83 } // extern 83 int abs( int ); // use default C routine for int 84 } // extern "C" 84 85 long int abs( long int ); 85 86 long long int abs( long long int ); … … 90 91 double _Complex abs( double _Complex ); 91 92 long double _Complex abs( long double _Complex ); 93 94 //--------------------------------------- 95 96 float floor( float ); 97 extern "C" { 98 double floor( double ); // use C routine for double 99 } // extern "C" 100 long double floor( long double ); 101 102 float ceil( float ); 103 extern "C" { 104 double ceil( double ); // use C routine for double 105 } // extern "C" 106 long double ceil( long double ); 92 107 93 108 //---------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.