1998-02-01 02:37:08 +01:00
|
|
|
#include "f2c.h"
|
|
|
|
|
2002-06-01 14:38:32 +02:00
|
|
|
integer
|
|
|
|
i_sign (integer * a, integer * b)
|
1998-02-01 02:37:08 +01:00
|
|
|
{
|
2002-06-01 14:38:32 +02:00
|
|
|
integer x;
|
|
|
|
x = (*a >= 0 ? *a : -*a);
|
|
|
|
return (*b >= 0 ? x : -x);
|
1998-02-01 02:37:08 +01:00
|
|
|
}
|