On 11/6/2013 7:07 AM, Iain Buclaw wrote:
double y = cast(float) x; ? :o)
I don't like overlaying a new meaning onto the cast operation. For example, if one was using it for type coercion, that is different from wanting precision reduction. There'd be no way to separate the two effects if one desires only one.
An intrinsic function solves the issue neatly and cleanly.
