// // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // alorgithm -- // // Author : Peter A. Buhr // Created On : Thu Jan 28 17:12:35 2016 // Last Modified By : Peter A. Buhr // Last Modified On : Mon Feb 1 13:41:51 2016 // Update Count : 26 // //--------------------------------------- forall( type T | { int ??( T, T ); } ) T max( const T t1, const T t2 ); //--------------------------------------- forall( type T ) void swap( T * t1, T * t2 ); //--------------------------------------- char abs( char ); extern "C" { int abs( int ); } // extern long int abs( long int ); long long int abs( long long int ); float abs( float ); double abs( double ); long double abs( long double ); float _Complex abs( float _Complex ); double _Complex abs( double _Complex ); long double _Complex abs( long double _Complex ); //--------------------------------------- void randseed( long int s ); char random(); int random(); unsigned int random(); long int random(); unsigned long int random(); float random(); double random(); float _Complex random(); double _Complex random(); long double _Complex random(); // Local Variables: // // mode: c // // tab-width: 4 // // End: //