1
1

correct several of the new macros.

This commit was SVN r17904.
Этот коммит содержится в:
Rich Graham 2008-03-21 03:45:43 +00:00
родитель a7c836a2b0
Коммит 0974160e29

Просмотреть файл

@ -702,7 +702,7 @@ LOC_FUNC(minloc, long_double_int, <)
type *a1 = (type *) in1; \
type *a2 = (type *) in2; \
type *b = (type *) out; \
for (i = 0; i < *count; ++i, ++b, ++a) { \
for (i = 0; i < *count; ++i, ++b, ++a1, ++a2) { \
b->real = a1->real + a2->real; \
b->imag = a1->imag + a2->imag; \
} \
@ -717,11 +717,9 @@ LOC_FUNC(minloc, long_double_int, <)
type *a1 = (type *) in1; \
type *a2 = (type *) in2; \
type *b = (type *) out; \
type *a1 = (type *) in1; \
for (i = 0; i < *count; ++i, ++b, ++a) { \
for (i = 0; i < *count; ++i, ++b, ++a1, ++a2) { \
*b->real = a1->real * a2->real - a1->imag * a2->imag; \
*b->imag = a1->imag * a2->real + a1->real * a2->imag; \
*b = temp; \
} \
}