CommonDecimal

Returns the most wide _decimal type among the specified types

Members

Aliases

CommonDecimal
alias CommonDecimal = T[0]

Undocumented in source.

CommonDecimal
alias CommonDecimal = decimal128

Undocumented in source.

CommonDecimal
alias CommonDecimal = T[1]

Undocumented in source.

CommonDecimal
alias CommonDecimal = T[0]

Undocumented in source.

CommonDecimal
alias CommonDecimal = decimal128

Undocumented in source.

CommonDecimal
alias CommonDecimal = decimal128

Undocumented in source.

CommonDecimal
alias CommonDecimal = T[0]

Undocumented in source.

CommonDecimal
alias CommonDecimal = CommonDecimal!(CommonDecimal!(T[0..1], CommonDecimal!(T[2..$])))

Undocumented in source.

Examples

static assert(is(CommonDecimal!(decimal32, decimal64) == decimal64));
static assert(is(CommonDecimal!(decimal32, decimal128) == decimal128));
static assert(is(CommonDecimal!(decimal64, decimal128) == decimal128));

Meta