GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::islessgreater(3) C++ Standard Libary std::islessgreater(3)

std::islessgreater - std::islessgreater


Defined in header <cmath>
bool islessgreater( float x, float y ); (1) (since C++11)
(constexpr since C++23)
bool islessgreater( double x, double y ); (2) (since C++11)
(constexpr since C++23)
bool islessgreater( long double x, long double y ); (3) (since C++11)
(constexpr since C++23)
bool islessgreater( Arithmetic x, Arithmetic y ); (4) (since C++11)
(constexpr since C++23)


1-3) Determines if the floating point number x is less than or greater than the
floating-point number y, without setting floating-point exceptions.
4) A set of overloads or a function template for all combinations of arguments of
arithmetic type not covered by (1-3). If any argument has integral type, it is cast
to double.


x - floating point value
y - floating point value


true if x < y || x > y, false otherwise


The built-in operator< and operator> for floating-point numbers may raise FE_INVALID
if one or both of the arguments is NaN. This function is a "quiet" version of the
expression x < y || x > y.


isless checks if the first floating-point argument is less than the second
(C++11) (function)
isgreater checks if the first floating-point argument is greater than the second
(C++11) (function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.