3 // Copyright (C) 2002-2013 Free Software Foundation, Inc.
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
21 // Test name lookup resolutions for standard functions applied to an
31 operator bool() const;
34 Number
operator+(Number
);
35 Number
operator-(Number
);
36 Number
operator~(Number
);
38 bool operator!(Number
);
40 Number
operator+(Number
, Number
);
41 Number
operator-(Number
, Number
);
42 Number
operator*(Number
, Number
);
43 Number
operator/(Number
, Number
);
44 Number
operator%(Number
, Number
);
46 Number
operator^(Number
, Number
);
47 Number
operator&(Number
, Number
);
48 Number
operator|(Number
, Number
);
50 Number
operator<<(Number
, Number
);
51 Number
operator>>(Number
, Number
);
53 bool operator==(Number
, Number
);
54 bool operator!=(Number
, Number
);
55 bool operator<(Number
, Number
);
56 bool operator<=(Number
, Number
);
57 bool operator>(Number
, Number
);
58 bool operator>=(Number
, Number
);
79 Number
atan2(Number
, Number
);
80 Number
pow(Number
, Number
);
85 typedef std::valarray
<My::Number
> Array
;
90 std::valarray
<bool> z
= !u
;