projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Add copyright
[unix-history]
/
usr
/
src
/
usr.bin
/
f77
/
libF77
/
r_sign.c
Commit
Line
Data
4f619d03
DW
1
/*
2
* "@(#)r_sign.c 1.1"
3
*/
4
5
double r_sign(a,b)
6
float *a, *b;
7
{
8
float x;
9
x = (*a >= 0 ? *a : - *a);
10
return( *b >= 0 ? x : -x);
11
}