
Question: I've noticed that this: 1.23456789098787237982792742932938492382342382342002934932_df Compiles, although it truncates the> value to 1.234568. Would it make> sense to somehow tell the user "hey,> this literal is too long" It would absolutely make sense, butthen you would need the same thing tohappen for float, double and longdouble in the Standard, which isn'tgoing to happen. So Decimal follows suit. On Friday, January 17, 2025 at 10:18:21 PM GMT+1, Ruben Perez via Boost
wrote:
Question: I've noticed that this: 1.23456789098787237982792742932938492382342382342002934932_df Compiles, although it truncates the value to 1.234568. Would it make sense to somehow tell the user "hey, this literal is too long" and maybe error? I have never worked with custom literals before, so I don't know if this is possible or makes sense. Thanks, Ruben. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost