nextafter()

Returns the next floating point value after x in the direction of y

Reference: DuckDB 2.0.0

Arguments & returns

2 overloads

nextafter(x, y)

Scalar
Overload link xy Returns
#01 DOUBLEDOUBLE DOUBLE
#02 FLOATFLOAT FLOAT

Example

nextafter example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.