【发布时间】:2016-08-22 02:37:37
【问题描述】:
当我尝试像这样将实数转换为整数时,为什么会出错?
fun stuff a =
Real.toInt a
错误:
Error-Can't unify IEEEReal.rounding_mode with real (Different type constructors) Found near stuff
(0.0)
【问题讨论】:
标签: floating-point integer type-conversion sml