source: src/libcfa/algorithm @ b4cd03b7

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since b4cd03b7 was b4cd03b7, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

fix many warnings from gcc by adding appropriate casts to adapter parameters

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[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//
[b4cd03b7]7// alorgithm --
[d3b7937]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
[b4cd03b7]18forall( type T | { int ?<?( const T, const T ); } )
[d3b7937]19T min( const T t1, const T t2 );
20
[b4cd03b7]21forall( type T | { int ?>?( const T, const T ); } )
[d3b7937]22T max( const T t1, const T t2 );
23
[5721a6d]24//---------------------------------------
25
26forall( type T )
27void swap( T * t1, T * t2 );
28
29//---------------------------------------
30
[d3b7937]31char abs( char );
32extern "C" {
33int abs( int );
34} // extern
35long int abs( long int );
36long long int abs( long long int );
37float abs( float );
38double abs( double );
39long double abs( long double );
40float _Complex abs( float _Complex );
41double _Complex abs( double _Complex );
42long double _Complex abs( long double _Complex );
43
[5721a6d]44//---------------------------------------
45
46void randseed( long int s );
47char random();
48int random();
49unsigned int random();
50long int random();
51unsigned long int random();
52float random();
53double random();
54float _Complex random();
55double _Complex random();
56long 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.