spielwiese
Last change
on this file since 6ab5981 was
6ab5981,
checked in by Jens Schmidt <schmidt@…>, 26 years ago
|
o header fixed
git-svn-id: file:///usr/local/Singular/svn/trunk@411 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
412 bytes
|
Line | |
---|
1 | /* emacs edit mode for this file is -*- C++ -*- */ |
---|
2 | /* $Id: ftmpl_functions.h,v 1.3 1997-06-19 13:11:16 schmidt Exp $ */ |
---|
3 | |
---|
4 | #ifndef INCL_FUNCTIONS_H |
---|
5 | #define INCL_FUNCTIONS_H |
---|
6 | |
---|
7 | #include <factoryconf.h> |
---|
8 | |
---|
9 | template<class T> |
---|
10 | inline T tmax( const T & a, const T & b ) |
---|
11 | { |
---|
12 | return (a > b) ? a : b; |
---|
13 | } |
---|
14 | |
---|
15 | template<class T> |
---|
16 | inline T tmin( const T & a, const T & b ) |
---|
17 | { |
---|
18 | return (a < b) ? a : b; |
---|
19 | } |
---|
20 | |
---|
21 | #endif /* ! INCL_FUNCTIONS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.