-
Notifications
You must be signed in to change notification settings - Fork 1
/
SIDIF.c,v
54 lines (41 loc) · 831 Bytes
/
SIDIF.c,v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
head 1.1;
access;
symbols;
locks
collins:1.1; strict;
comment @ * @;
1.1
date 2005.01.31.14.18.30; author George; state new;
branches;
next ;
desc
@Software interval difference.
@
1.1
log
@Initial revision
@
text
@/*======================================================================
SIDIF(I,J,K)
Software interval difference.
Inputs
I,J : software intervals of the same precision p.
K : an array large enough for a software interval of precision p.
Effect
The p-precision difference is placed in K.
======================================================================*/
#include "saclib.h"
void SIDIF(I,J,K)
BDigit *I,*J,*K;
{
BDigit *H;
Step1: /* Negate and add. */
H = SINEG(J);
SISUM(I,H,K);
Step2: /* Free array H. */
FREEARRAY(H);
Return: /* Return. */
return;
}
@