* Vectorlized sin/cos routine
@ 1999-03-07 2:14 Kazushige Goto
0 siblings, 0 replies; only message in thread
From: Kazushige Goto @ 1999-03-07 2:14 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
Hi,
I made vectorlized sin/cos routine. It runs 28(sin)/30(cos)
clocks/each. I do not know these routines are useful...., I'll make
faster code if someone is interested in.
There are some variations,
-- C Version --
dsinv(double *src, double *dst, int size);
dcosv(double *src, double *dst, int size);
ssinv(float *src, float *dst, int size);
scosv(float *src, float *dst, int size);
-- FORTRAN Version --
call dsinv(dsrc, ddst, size);
call dcosv(dsrc, ddst, size);
call ssinv(ssrc, sdst, size);
call scosv(ssrc, sdst, size);
dsrc, ddst:double precision matrix
ssrc, sdst:single precision matrix
and there are NO exceptional handling, and I've only checked
dsinv/dcosv routine.
Thanks,
goto@statabo.rim.or.jp
Application/Octet-Stream attachment: invcosv.tar.gz_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-03-07 2:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-07 2:14 Vectorlized sin/cos routine Kazushige Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox