Boost logo

Boost :

Subject: Re: [boost] Fixed point integer proposal
From: Patrick Mihelich (patrick.mihelich_at_[hidden])
Date: 2009-06-24 21:23:47

On Wed, Jun 24, 2009 at 12:51 PM, Soren Holstebroe <holstebroe_at_[hidden]>wrote:

> Would there be public interest in a template like that in the boost
> library?

Yes, very much so. My main use case is also image processing.

It would be useful if you could compare your work to other implementations,
such as:
 * Phil Endecott's related proposal last year, and the ensuing discussion:
 * Dr. Dobbs, "Fixed-Point Arithmetic Types for C++,"

How are multiplication and division handled?

Is overflow detection and/or saturation arithmetic supported?


Boost list run by bdawes at, gregod at, cpdaniel at, john at