Csound Csound-dev Csound-tekno Search About

Decimal precision

Date1997-02-14 00:51
FromGregory Boduch
SubjectDecimal precision
Hello,

Csound seems to ignore decimal places after 3. If I define a constant
such as 0.0000000001 it seems to think it's 0.000  . I'm trying
to code a sones-to-dB conversion formula in an insturment. It
involves 10^-12. Is there a way to perform calculations involving more
than 3 decimal places or exponential notation in Csound orchestra file?


Thanks.
Gregory Boduch
gb141@columbia.edu