. service tells you which device it couldn't stat
[minix3.git] / lib / float / adf4.c
blob572f3daa3019eca313fe2ac037c78b416c1a8081
1 /*
2 (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
6 /* $Header$ */
8 /*
9 ADD TWO FLOATS - SINGLE (ADF 4)
12 #include "FP_types.h"
14 void
15 adf4(s2,s1)
16 SINGLE s1,s2;
18 EXTEND e1,e2;
19 int swap = 0;
21 if (s1 == (SINGLE) 0) {
22 s1 = s2;
23 return;
25 if (s2 == (SINGLE) 0) {
26 return;
28 extend(&s1,&e1,sizeof(SINGLE));
29 extend(&s2,&e2,sizeof(SINGLE));
30 add_ext(&e1,&e2);
31 compact(&e1,&s1,sizeof(SINGLE));