Boost logo

Boost :

From: Matthew Hurd (matt_at_[hidden])
Date: 2002-08-21 23:40:48

Well if the compiler can't do it, perhaps the library can do it generatively
with an expression template technique?

boost::magic_double & boost::magic_long_double, any one?

Yikes, perhaps the teeny nut can be cracked by a space based laser carefully
focused by a team of hundreds...


----- Original Message -----
From: "Maxim Shemanarev" <mcseem_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, August 22, 2002 1:30 PM
Subject: [boost] Re: A pure C/C++ question

> > If the committee is seriously considering ways to handle stuff, how
> > dealing with the two results returned by almost every integer divide
> > instruction... quotient and remainder.
> Right. That's another thing. But in this case if you write x=a/b; y=a%b; a
> compiler at least *can try* to optimize this. In case of x*a/b it cannot
> because it's not allowed to! The question is really not a technical one.
> really don't have a choice even if we were the ANSI committee.

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