Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-03-16 09:59:32


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:001301c52a34$4f5d7cc0$6601a8c0_at_pdimov...
> Gennadiy Rozental wrote:
> > There is still an open issue how to use numeric_limits in generic
> > function. Any ideas?
>
> Don't instantiate it on an array type?

Here is the logic I want:

1. If numeric_limit<T>::is_specialized is true and numeric_limit<T>::radix
== 2 then set precision by formula ...

2. print value of type T

Gennadiy


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