thank you
On Saturday, March 12, 2016 at 8:15:38 AM UTC-5, Tomas Lycken wrote:
>
> I think stretch was a pretty good suggestion, actually.
>
> trunc as in “truncate” makes sense for taking 3.14 -> 3 and -2.718 -> -2;
> you quite literally truncate the decimal representation of the number by
> ch
I think stretch was a pretty good suggestion, actually.
trunc as in “truncate” makes sense for taking 3.14 -> 3 and -2.718 -> -2;
you quite literally truncate the decimal representation of the number by
chopping off the decimals. I could imagine the opposite, 3.14 -> 4 and
-2.718 -> -3, as ei
trunc_to_inf and add an alias trunc_to_zero for regular trunc ??
On Saturday, March 12, 2016 at 1:49:41 PM UTC+2, Jeffrey Sarnoff wrote:
>
> x = trunc(fp) yields fp rounded towards zero to the closest integer valued
> float.
> What name would you give to the complementary function, rounding away