Csound Csound-dev Csound-tekno Search About

Csound decimal precision

Date1997-02-14 20:28
FromGregory Boduch
SubjectCsound decimal precision
<<<< Sorry, for repeating. The second half of my last message has been
     cut off twice!? >>>>>

(cntd.)

outputs:

instr 1:  iex1 = 0.000
instr 1:  iex2 = 0.000

The sones-to-dB conversion formula needs 10^-12. 


Thanks

Gregory Boduch
gb141@columbia.edu

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