Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.88k stars 151 forks source link

Conversion to AWG breaks without real assumption #637

Closed schuelermine closed 4 months ago

schuelermine commented 7 months ago

If assumptions are set to number, conversions to AWG produce extraneous imaginary terms. For instance, awg(x) = 20mm² is resolved to x = 4.241 229 402 − 27.095 940 33in (only n is printed italic—i is √-1).

hanna-kn commented 7 months ago

Fixed.