Standards ensure that it long doublecan support all the values that a can have double(or, in other words, the set of values supported by a doubleis a subset of what a long doublecan represent).
,
long double newValue = value;
, value double long double, . , .
++
long double newValue = (long double)value;
long double newvalue = static_cast<long double>(value);
, , .
, ( long double double), , ( ) - ( ) .