lrint overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the related overload above for lrint.

static
long
lrint(Decimal128 x);

Return the integer nearest to x using the current rounding mode.

static
long
lrint(Decimal32 x);

Same as the overload taking Decimal32.

static
long
lrint(Decimal64 x);

Return Value

integer nearest to x as a long int

Parameters

Name

Description

x

value to round to nearest long int

Created with MrDocs