On Mon, Jan 15, 2018 at 7:38 AM, Yuri Pankov <yur...@icloud.com> wrote:
> Is this a known problem with loops and floating point numbers? > Yes. Many exact fractions in base-10 aren't exact in base-2, so you get accumulation of errors based on the tiny difference and see behavior like this. This is totally expected. You have to work around the problem using a computation method that doesn't accumulate errors. Warner _______________________________________________ firstname.lastname@example.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"