Boost logo

Boost :

Subject: Re: [boost] [fixed_point] Request for interest in a binary fixed point library
From: Andrii Sydorchuk (sydorchuk.andriy_at_[hidden])
Date: 2012-04-10 19:15:20


>From the http://en.wikipedia.org/wiki/**Fixed-point_arithmetic>
:

> A value of a fixed-point data type is essentially an integer<http://en.wikipedia.org/wiki/Integer> that
> is scaled by a specific factor determined by the type.

So isn't it possible to implement this functionality as a simple wrapper
around Boost Multiprecision fixed int type (cpp_int) with properly
overloaded operators?

Thanks,
Andrii


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk