BloombergLP::bdldfp::operator<<

Return true if lhs is less than rhs.

Synopsis

Declared in <bdldfp_decimal.h>

template<
    class CHARTYPE,
    class TRAITS>
bsl::basic_ostream<CHARTYPE, TRAITS>&
operator<<(
    bsl::basic_ostream<CHARTYPE, TRAITS>& stream,
    Decimal64 object);

Description

Write the value of the specified object to the specified output stream in a single line format as described in the IEEE-754 2008 standard (5.12 Details of conversions between floating point numbers and external character sequences), and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect.

NOTE: This method does not yet fully support iostream flags or the decimal floating point exception context.

Return Value

reference providing modifiable access to stream

Parameters

NameDescription
streamstream to read from or write to
objectobject whose value is written