Changeset 9236060 for src/libcfa/stdlib
- Timestamp:
- Aug 14, 2017, 2:03:39 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:
- 74b007ba
- Parents:
- fd344aa (diff), 54cd58b (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
rfd344aa r9236060 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 7 09:34:49201713 // Update Count : 2 1912 // Last Modified On : Mon Aug 7 11:19:07 2017 13 // Update Count : 223 14 14 // 15 15 … … 18 18 //--------------------------------------- 19 19 20 extern "C" {21 20 #ifndef EXIT_FAILURE 22 21 #define EXIT_FAILURE 1 // failing exit status 23 22 #define EXIT_SUCCESS 0 // successful exit status 24 23 #endif // ! EXIT_FAILURE 25 } // extern "C"26 24 27 25 //--------------------------------------- … … 185 183 //--------------------------------------- 186 184 185 [ int, int ] div( int num, int denom ); 186 [ long int, long int ] div( long int num, long int denom ); 187 [ long long int, long long int ] div( long long int num, long long int denom ); 187 188 forall( otype T | { T ?/?( T, T ); T ?%?( T, T ); } ) 188 [ T, T ] div( T t1, T t2);189 [ T, T ] div( T num, T demon ); 189 190 190 191 //---------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.