Revert changes intended for trunk

[SVN r57701]
This commit is contained in:
Robert Ramey
2009-11-16 05:32:31 +00:00
parent 1f49950d27
commit 09bf7cb705
59 changed files with 86 additions and 130 deletions

View File

@@ -51,8 +51,8 @@ public:
};
A::A() :
s(static_cast<signed char>(0xff & std::rand())),
t(static_cast<signed char>(0xff & std::rand())),
s(std::rand()),
t(std::rand()),
u(std::rand()),
v(std::rand()),
w((float)std::rand() / std::rand()),
@@ -74,13 +74,13 @@ bool A::operator==(const A &rhs) const
bool A::operator<(const A &rhs) const
{
if(! (s == rhs.s) )
if(! s == rhs.s )
return s < rhs.s;
if(! (t == rhs.t) )
if(! t == rhs.t )
return t < rhs.t;
if(! (u == rhs.u) )
if(! u == rhs.u )
return t < rhs.u;
if(! (v == rhs.v) )
if(! v == rhs.v )
return t < rhs.v;
if(! (std::fabs(w - rhs.w) < std::numeric_limits<float>::round_error() ) )
return t < rhs.w;