Closed c3d closed 1 week ago
This is apparently related to processing the input unit.
The issue is a matter of ordering of unit processing vs. angle processing. Angle processing is tested before unit processing, and this is backwards.
What happens is that we start with an input that is 1.5_m
divided by 5_cm
. This is 0.3_m/cm
. The x->is_real()
test for arc-{sin,cos,tan} fails, so we fall through to regular unit processing, and multiply the result by m/cm
, which is 100.
This is incorrect: we should multiply the input by that amount.
In any case, we were falling passing 0.3
to ATAN
, getting 16.69924 4234 °
, then multiplying that result by 100, giving the observed wrong result.
Duplicate of #1277, which I had not yet addressed. Marking both as done.
Example 2 in
E Field Finite Line
has the following assignments:The assignment for
θ1
evaluates as1 669.92442 34 °
.