OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* java/io/BufferedReader.java: Re-merged with Classpath.
[pf3gnuchains/gcc-fork.git]
/
libf2c
/
libF77
/
r_sign.c
1
#include "f2c.h"
2
3
#ifdef KR_headers
4
double r_sign(a,b) real *a, *b;
5
#else
6
double r_sign(real *a, real *b)
7
#endif
8
{
9
double x;
10
x = (*a >= 0 ? *a : - *a);
11
return( *b >= 0 ? x : -x);
12
}