I updated Xitomatl's fmt to 0.6, and this is what it does now:
> (fmt #f (num (sqrt -3.8) 10 5)) "0.00000+1.94936i" > (fmt #f (num (sqrt -3.8) 10 4)) "0.0000+1.9494i" > (fmt #f (num (sqrt -3.8) 10 3)) "0.000+1.949i"
The complex numbers are now correct, but I don't know if the number of zeros should be considered a bug according to the intent of Alex. I'm going to say this is fixed, but reopen if you want.
I updated Xitomatl's fmt to 0.6, and this is what it does now:
> (fmt #f (num (sqrt -3.8) 10 5))
"0.00000+1.94936i"
> (fmt #f (num (sqrt -3.8) 10 4))
"0.0000+1.9494i"
> (fmt #f (num (sqrt -3.8) 10 3))
"0.000+1.949i"
The complex numbers are now correct, but I don't know if the number of zeros should be considered a bug according to the intent of Alex. I'm going to say this is fixed, but reopen if you want.