[#BloombergLP-bdldfp-operator_star-005]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator&ast;
:relfileprefix: ../../
:mrdocs:

Multiply the value of the specified `lhs` object by the value of the specified `rhs` as described by IEEE&hyphen;754 and return the result&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimal&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdldfp/Decimal128.adoc[bdldfp::Decimal128]
operator&ast;(
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

== Description

&ast; If either of `lhs` or `rhs` is signaling NaN, then store the value of the macro `EDOM` into `errno` and return a NaN&period; &ast; Otherwise if either of `lhs` or `rhs` is NaN, return a NaN&period; &ast; Otherwise if one of the operands is infinity (positive or negative) and the other is zero (positive or negative), then store the value of the macro `EDOM` into `errno` and return a NaN&period; &ast; Otherwise if both `lhs` and `rhs` are infinity (positive or negative), return infinity&period; The sign of the returned value will be positive if `lhs` and `rhs` have the same sign, and negative otherwise&period; &ast; Otherwise, if either `lhs` or `rhs` is zero, return zero&period; The sign of the returned value will be positive if `lhs` and `rhs` have the same sign, and negative otherwise&period; &ast; Otherwise if the product of `lhs` and `rhs` has an absolute value that is larger than `std&colon;&colon;numeric&lowbar;limits&lt;Decimal128&gt;&colon;&colon;max()` then store the value of the macro `ERANGE` into `errno` and return an infinity with the same sign as that result&period; &ast; Otherwise if the product of `lhs` and `rhs` has an absolute value that is smaller than `std&colon;&colon;numeric&lowbar;limits&lt;Decimal128&gt;&colon;&colon;min()` then store the value of the macro `ERANGE` into `errno` and return zero with the same sign as that result&period; &ast; Otherwise return the product of the value of `rhs` and the number represented by `rhs`&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
