std::isless
From cppreference.com
Defined in header <cmath>
|
||
(1) | ||
bool isless( float x, float y ); bool isless( double x, double y ); |
(since C++11) (until C++23) |
|
constexpr bool isless( /* floating-point-type */ x, /* floating-point-type */ y ); |
(since C++23) | |
Defined in header <cmath>
|
||
template< class Arithmetic1, class Arithmetic2 > bool isless( Arithmetic1 x, Arithmetic2 y ); |
(A) | (since C++11) (constexpr since C++23) |
1) Determines if the floating point number x is less than the floating-point number y, without setting floating-point exceptions. The library provides overloads for all cv-unqualified floating-point types as the type of the parameters x and y.(since C++23)
A) Additional overloads are provided for all other combinations of arithmetic types.
Contents |
[edit] Parameters
x, y | - | floating-point or integer values |
[edit] Return value
true if x < y, false otherwise.
[edit] Notes
The built-in operator< for floating-point numbers may raise