FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void _swapd_buffer
(
double *
s2
,
double *
s1
,
int
n
)
Definition at line
143
of file
swap.c
.
Referenced by
copy_swap_buffer_in()
.
144
{
145
register
char
*p, *q;
146
double
r[2];
147
register
double
*d;
148
register
int
m;
149
150
p = (
char
*) s2;
151
q = (
char
*) s1;
152
if
( p != q ) {
153
p +=
sizeof
(double);
154
for
( n++; --n; p += 2*
sizeof
(double)) {
155
for
( m =
sizeof
(
double
)+1; --m; *--p = *q++) ;
156
}
157
}
else
{
158
for
( d = s2, n++; --n; *d++ = r[0]) {
159
p = (
char
*) &r[1] ;
160
for
( m =
sizeof
(
double
)+1; --m; *--p = *q++) ;
161
}
162
}
163
}
Here is the caller graph for this function:
dim
src
swap.c
Generated on Sun Sep 18 2016 20:50:32 for FACT++ by
1.8.11