Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12424 closed Bugs (wontfix)

deserialization error on double when value is NAN or -NAN

Reported by: anonymous Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

this is the serialization result with nan value: 22 serialization::archive 14 0 0 0 0 0 0 0 0 0 2 6.93041131339566173e-310 0.00000000000000000e+00 0 0 0 1 0 0.00000000000000000e+00 0 0 0 0 116 0 0 0 -nan 9.88131291682493088e-324 0 0 0 0 0 1164 17 2 78 787 719 0 103 0.00000000000000000e+00 640 480 387953024 32660

deserialization this while cause exception,message is stream error

Change History (3)

comment:1 by viboes, 6 years ago

Component: Noneserialization
Owner: set to Robert Ramey

comment:2 by Robert Ramey, 6 years ago

Resolution: wontfix
Status: newclosed

I can't see the source, but I assume that this is a text file. The serialization library currently doe not support the serialization of NaN floating point values.

comment:3 by Kohei Takahashi, 6 years ago

see also #9810

Note: See TracTickets for help on using tickets.