◆ float_na_equal() [1/2]
| duckdb::float_na_equal::float_na_equal |
( |
| ) |
|
|
inline |
◆ float_na_equal() [2/2]
| duckdb::float_na_equal::float_na_equal |
( |
const float |
val_p | ) |
|
|
inlineexplicit |
10352 : val(val_p) {
10353 }
◆ operator float()
| duckdb::float_na_equal::operator float |
( |
| ) |
const |
|
inline |
10355 {
10356 return val;
10357 }
◆ operator==()
| bool duckdb::float_na_equal::operator== |
( |
const float & |
right | ) |
const |
|
inline |
10359 {
10360 if (std::isnan(val) && std::isnan(right)) {
10361 return true;
10362 }
10363 return val == right;
10364 }
◆ operator!=()
| bool duckdb::float_na_equal::operator!= |
( |
const float & |
right | ) |
const |
|
inline |
10366 {
10367 return !(*this == right);
10368 }
The documentation for this struct was generated from the following file: