ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
Last change
on this file since 2a4b088 was 5721a6d, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
correctly set type for complex constants, consolidate function name tables, add offsetof, refactor printing complex constants to use basic types
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[d3b7937] | 1 | //
|
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
|
---|
| 3 | //
|
---|
| 4 | // The contents of this file are covered under the licence agreement in the
|
---|
| 5 | // file "LICENCE" distributed with Cforall.
|
---|
| 6 | //
|
---|
| 7 | // alorgithm --
|
---|
| 8 | //
|
---|
| 9 | // Author : Peter A. Buhr
|
---|
| 10 | // Created On : Thu Jan 28 17:12:35 2016
|
---|
| 11 | // Last Modified By : Peter A. Buhr
|
---|
[5721a6d] | 12 | // Last Modified On : Mon Feb 1 13:41:51 2016
|
---|
| 13 | // Update Count : 26
|
---|
[d3b7937] | 14 | //
|
---|
| 15 |
|
---|
[5721a6d] | 16 | //---------------------------------------
|
---|
| 17 |
|
---|
[d3b7937] | 18 | forall( type T | { int ?<?( T, T ); } )
|
---|
| 19 | T min( const T t1, const T t2 );
|
---|
| 20 |
|
---|
| 21 | forall( type T | { int ?>?( T, T ); } )
|
---|
| 22 | T max( const T t1, const T t2 );
|
---|
| 23 |
|
---|
[5721a6d] | 24 | //---------------------------------------
|
---|
| 25 |
|
---|
| 26 | forall( type T )
|
---|
| 27 | void swap( T * t1, T * t2 );
|
---|
| 28 |
|
---|
| 29 | //---------------------------------------
|
---|
| 30 |
|
---|
[d3b7937] | 31 | char abs( char );
|
---|
| 32 | extern "C" {
|
---|
| 33 | int abs( int );
|
---|
| 34 | } // extern
|
---|
| 35 | long int abs( long int );
|
---|
| 36 | long long int abs( long long int );
|
---|
| 37 | float abs( float );
|
---|
| 38 | double abs( double );
|
---|
| 39 | long double abs( long double );
|
---|
| 40 | float _Complex abs( float _Complex );
|
---|
| 41 | double _Complex abs( double _Complex );
|
---|
| 42 | long double _Complex abs( long double _Complex );
|
---|
| 43 |
|
---|
[5721a6d] | 44 | //---------------------------------------
|
---|
| 45 |
|
---|
| 46 | void randseed( long int s );
|
---|
| 47 | char random();
|
---|
| 48 | int random();
|
---|
| 49 | unsigned int random();
|
---|
| 50 | long int random();
|
---|
| 51 | unsigned long int random();
|
---|
| 52 | float random();
|
---|
| 53 | double random();
|
---|
| 54 | float _Complex random();
|
---|
| 55 | double _Complex random();
|
---|
| 56 | long double _Complex random();
|
---|
| 57 |
|
---|
[d3b7937] | 58 | // Local Variables: //
|
---|
| 59 | // mode: c //
|
---|
| 60 | // tab-width: 4 //
|
---|
| 61 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.