Different tvd result when switching from vanilla sac2c to the sl_pp backend
|
|
Bugzilla Link |
678 |
Created on |
Feb 07, 2010 23:11 |
Resolution |
FIXED |
Resolved on |
Feb 11, 2010 12:37 |
Version |
svn |
OS |
All |
Architecture |
PC |
Attachments |
caj.sac, tvd2db.sac
|
Extended Description
The attached code returns NAN for the entire outputted array with -target sl_ppp. When I run with vanilla SaC I get the usual output. I ran this on a private build of Carl's and never recorded the sac2c version.
This is strange since the target option should only change backend code.
I have already tried giving different values (round, unround, zero and negative) to sqrt to compare the microgrid and C sqrt functions but see no difference. I'll try ruling out rounding errors next.