File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ template <int KIND>
263
263
RT_API_ATTRS decimal::ConversionToDecimalResult
264
264
RealOutputEditing<KIND>::ConvertToDecimal(
265
265
int significantDigits, enum decimal::FortranRounding rounding, int flags) {
266
- #if !defined(RT_DEVICE_COMPILATION)
267
266
auto converted{decimal::ConvertToDecimal<binaryPrecision>(buffer_,
268
267
sizeof buffer_, static_cast <enum decimal::DecimalConversionFlags>(flags),
269
268
significantDigits, rounding, x_)};
@@ -273,10 +272,6 @@ RealOutputEditing<KIND>::ConvertToDecimal(
273
272
sizeof buffer_);
274
273
}
275
274
return converted;
276
- #else // defined(RT_DEVICE_COMPILATION)
277
- // TODO: enable Decimal library build for the device.
278
- io_.GetIoErrorHandler ().Crash (" not implemented yet: decimal conversion" );
279
- #endif // defined(RT_DEVICE_COMPILATION)
280
275
}
281
276
282
277
static RT_API_ATTRS bool IsInfOrNaN (const char *p, int length) {
You can’t perform that action at this time.
0 commit comments