Re: [linux-audio-dev] Converting float to int

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Converting float to int
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Tue Oct 30 2001 - 14:17:02 EET


On Mon, Oct 29, 2001 at 04:27:38PM -0700, Joe Pfeiffer wrote:
> That's the minimum acceptable limit. It's actually
> implementation-dependent; on Intel (quickly looking at
> /usr/include/limits.h), it's -32768 and 32767 as you'd expect.

Right, so, in summary, you definatly should clamp.

- Steve


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Oct 30 2001 - 14:12:36 EET