Compare commits
2 commits
dbff159906
...
500a2c4c59
Author | SHA1 | Date | |
---|---|---|---|
500a2c4c59 | |||
867c93c1b3 |
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
#define max(x,y) (((x) > (y)) ? (x) : (y))
|
||||
#define min(x,y) (((x) < (y)) ? (x) : (y))
|
||||
|
||||
#ifndef __GNUC__
|
||||
#ifdef __GNUC__
|
||||
|
||||
double fsqr (double x);
|
||||
int lsqr (int x);
|
||||
|
|
|
@ -64,7 +64,7 @@ static GTF_constants GC = {
|
|||
|
||||
/*-------------------------- Implementation -------------------------------*/
|
||||
|
||||
static double round(double v)
|
||||
double round(double v)
|
||||
{
|
||||
return floor(v + 0.5);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue