Csound Csound-dev Csound-tekno Search About

Csound decimal precision

Date1997-02-14 21:27
FromGregory Boduch
SubjectCsound decimal precision
Yes, it looks like that's the problem. I'm getting the right
results now. Thank you Eli Brandt, Mike Berry, and John ff.


Gregory Boduch
gb141@columbia.edu


Eli Brandt wrote:
> Without looking at the csound source, this looks like the print opcode
> is chopping the output to three decimal places (using printf("%.3f")
> rather than "%g", I bet).  If you print iex2*ipow(10, 12), it might
> turn out that Csound has the right value internally and just isn't
> printing all of it.