Right now I'm using a logical ||: if (!(2*PI - EPS!float <= t1-t0 || t1-t0 <= 2*PI + EPS!float)) {
But I'll be doing this a lot, so was wondering if there's a D native way of doing it.
Thanks.
Enjoys Math via Digitalmars-d-learn Sun, 07 Feb 2016 18:51:40 -0800
Right now I'm using a logical ||: if (!(2*PI - EPS!float <= t1-t0 || t1-t0 <= 2*PI + EPS!float)) {
But I'll be doing this a lot, so was wondering if there's a D native way of doing it.
Thanks.