Opened 6 years ago

#12550 new Bugs

output operator for multiprecision cpp_dec_float does not recognise locale settings for decimal point

Reported by: Rüdiger Brünner <rbruenner@…> Owned by: John Maddock
Milestone: To Be Determined Component: multiprecision
Version: Boost 1.62.0 Severity: Problem
Keywords: cpp_dec_float locale decimal point Cc:

Description

A cpp_dec_float_50 variable being transformed to a string will always contain a decimal *point* - independent of the locale used for the stream.

The reason is that all branches in format_float_string (number_base.hpp, line 806) append a decimal point. The function might need an additional parameter for the actual decimal separator in use.

Change History (0)

Note: See TracTickets for help on using tickets.