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