Actions
Bug #9490
closedPostgres backend can throw exception when getting subnormal floats out of the database
Start date:
12/14/2021
Due date:
% Done:
100%
Estimated time:
Description
When we retrieve a float it uses std::stof
, which may throw std::out_of_range
when a subnormal float is stored in the database.
E.g. storing and retrieving the following number causes an exception:
std::nextafter(0.f, std::numeric_limits<float>::infinity())
Updated by Roel Standaert almost 3 years ago
- Status changed from New to InProgress
Updated by Roel Standaert almost 3 years ago
- Status changed from InProgress to Review
Updated by Roel Standaert almost 3 years ago
- Status changed from Review to Resolved
- Assignee changed from Korneel Dumon to Roel Standaert
- % Done changed from 0 to 100
Updated by Roel Standaert almost 3 years ago
- Status changed from Resolved to Closed
Actions