This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Use the new numeric_limits::max_digits10 in random


Greetings,

This patch uses the new numeric_limits::max_digits10 (once it's in) for its intended purpose in random serialization.

Floating point numbers in distributions must be accurately serialized and deserialized.

Thanks,

Ed

Attachment: CL_random
Description: Binary data

Attachment: patch_random
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]