Csound Csound-dev Csound-tekno Search About

Strange value

Date1998-08-08 08:21
FromArne Hanna
SubjectStrange value
Hi Folks.  This statement: i7 = (p5<0? 1.021975/cpspch(abs(p5)) :
cpspch(p5)/1.021975) 
is from Jim Dashow's "In Winter Shine" orc, specifically from instr 15.

The first value for p5 in the score is 0.
Usually, dividing 0 by x = 0, but for some reason, in csound, cpspch(0) =
1.022 and the "if not" part of the conditional, returns 1.
What's going on here?

Cheers
Arne