Skip to content
Snippets Groups Projects
Commit 22fc1f94 authored by Serge Petrenko's avatar Serge Petrenko Committed by Kirill Yukhin
Browse files

decimal: fix index comparison with Inf, NaN

There was an assertion failure when inserting  a decimal into an index
which contained double Inf or NaN.

The reason for that was never checking decimal_from_*() return values,
and decimal_from_double() not being able to handle NaN or Inf, because
these values are not representable in decimal numbers.

Start handling decimal_from_<type> return values and fix decimal
comparison with Inf, NaN.

Closes #6377

NO_DOC=bugfix
parent cb6fc4a3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment