The R Project SVN R

Rev

Rev 17143 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17143 Rev 24068
Line 1... Line 1...
1
/*
1
/*
2
 *  bandwidth.c by W. N. Venables and B. D. Ripley  Copyright (C) 1994-2001
2
 *  bandwidth.c by W. N. Venables and B. D. Ripley  Copyright (C) 1994-2001
3
 */
3
 */
4
 
4
 
5
#ifdef Macintosh
-
 
6
#include <fp.h> 
-
 
7
#else
-
 
8
#include <math.h>
5
#include <math.h>
9
#endif
-
 
10
 
6
 
11
#ifndef max
7
#ifndef max
12
#  define max(a,b) ((a) > (b) ? (a) : (b))
8
#  define max(a,b) ((a) > (b) ? (a) : (b))
13
#  define min(a,b) ((a) < (b) ? (a) : (b))
9
#  define min(a,b) ((a) < (b) ? (a) : (b))
14
#endif
10
#endif