Csound Csound-dev Csound-tekno Search About

[Csnd] min and max float

Date2026-01-08 18:12
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] min and max float
Hi everybody,

sorry if this mail reaches you twice - i probably have some problems with my mail program.

For an algo for updating a min and max value i want to use the minimum possible value before zero (to prevent division by zero) and the maximum possible float.
What is a good way to represnt these numbers inside of csound?

Greetings,
Philipp


Date2026-01-08 18:50
FromRory Walsh
SubjectRe: [Csnd] min and max float
In these instances I usually use the [divz](https://csound.com/docs/manual/divz.html) opcode. 

On Thu, 8 Jan 2026 at 19:12, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:
Hi everybody,

sorry if this mail reaches you twice - i probably have some problems with my mail program.

For an algo for updating a min and max value i want to use the minimum possible value before zero (to prevent division by zero) and the maximum possible float.
What is a good way to represnt these numbers inside of csound?

Greetings,
Philipp

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here