[svlug] Fixed point math library for C -- recommendations?

Greg Lindahl lindahl at pbm.com
Wed Nov 21 13:53:29 PST 2007

On Wed, Nov 21, 2007 at 01:25:41PM -0800, Bill Kendrick wrote:
> On Wed, Nov 21, 2007 at 01:20:37PM -0800, Greg Lindahl wrote:
> > 
> > To use fixed-point, you have to know where to fix the point. Do you
> > know that? A library or compiler can't guess for you, which is why you
> > probably won't find an easy way to do the conversion.
> I'm thinking something more simple, I guess.  For example, 1.0 becomes
> 1024, 0.5 becomes 512, etc..

That's what I mean by "fixing the point", you're fixing the point at

It doesn't seem to be that easy to even find a library for fixed
point... which is a shame.

-- greg

More information about the svlug mailing list