Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed format floating point scale factor. #72

Closed
cmoore opened this issue Oct 7, 2017 · 1 comment
Closed

Fixed format floating point scale factor. #72

cmoore opened this issue Oct 7, 2017 · 1 comment

Comments

@cmoore
Copy link

cmoore commented Oct 7, 2017

Given

(format nil "~,,2f%" (coerce (/ 10 1576) 'float))

ccl result: "0.0063451775%"
sbcl result: "0.63451775%"

xrme added a commit that referenced this issue Mar 28, 2018
Although the spec says "If both w and d are omitted, then the effect
is to print the value using ordinary free-format output", this
surely cannot mean that k (the scale factor) would be ignored in
that case.

See #51 and #72
@xrme
Copy link
Member

xrme commented Mar 28, 2018

duplicate of #51

@xrme xrme closed this as completed Mar 28, 2018
xrme added a commit that referenced this issue Mar 28, 2018
Although the spec says "If both w and d are omitted, then the effect
is to print the value using ordinary free-format output", this
surely cannot mean that k (the scale factor) would be ignored in
that case.

See #51 and #72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants