698699700701702703704705706707708
/* Make adjustments for sign */ if (x < 0.0) { if (y > 0.0) refdfp = field.getPi().add(refdfp); else refdfp = refdfp.subtract(field.getPi()); } double ref = refdfp.toDouble(); double err = (tst - ref) / ref;