<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That said. Why does wrap~ of fx. the signal -0.99 return 0.00999999?<br>and wrap~ of fx. -
5.99 return 0.0100002?<br></blockquote></div><br>
It seems that the precision is low: if wrap~ outputs the difference
with the signal and the greatest integer, not larger than it, for -0.99
it should return 0.01.<br>
<br>
BTW, if one wants to get frac part of the signal, then with the current
implementation of wrap~ (returning 1 for each non-positive integer)<br>
<br>
[wrap~]<br>
|<br>
[wrap~]<br>
<br>
should do the work: 0 for any integer and the frac part for any other number.<br>