[polyml] Problem with Real.toLargeInt