Skip to content

Customize print to provide "plain" representation#243

Merged
kimikage merged 1 commit into
JuliaMath:masterfrom
kimikage:print
Mar 16, 2021
Merged

Customize print to provide "plain" representation#243
kimikage merged 1 commit into
JuliaMath:masterfrom
kimikage:print

Conversation

@kimikage
Copy link
Copy Markdown
Collaborator

@kimikage kimikage commented Mar 15, 2021

print writes the number without the type suffix.
This also unifies the return values of show/showtype to nothing.

Closes #241

`print` writes the number without the type suffix.
This also unifies the return values of `show`/`showtype` to `nothing`.
@kimikage kimikage added the breaking Major breaking change label Mar 15, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 15, 2021

Codecov Report

Merging #243 (b72c0b6) into master (39e7d9b) will increase coverage by 0.68%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
+ Coverage   95.57%   96.25%   +0.68%     
==========================================
  Files           6        6              
  Lines         746      748       +2     
==========================================
+ Hits          713      720       +7     
+ Misses         33       28       -5     
Impacted Files Coverage Δ
src/FixedPointNumbers.jl 96.44% <100.00%> (+1.00%) ⬆️
src/normed.jl 95.92% <0.00%> (+0.45%) ⬆️
src/fixed.jl 97.51% <0.00%> (+0.62%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39e7d9b...b72c0b6. Read the comment docs.

@kimikage kimikage merged commit d977b44 into JuliaMath:master Mar 16, 2021
@kimikage kimikage deleted the print branch March 16, 2021 11:07
@kimikage kimikage mentioned this pull request Apr 30, 2024
38 tasks
kimikage added a commit to kimikage/FixedPointNumbers.jl that referenced this pull request May 1, 2024
kimikage added a commit to kimikage/FixedPointNumbers.jl that referenced this pull request May 1, 2024
kimikage added a commit to kimikage/FixedPointNumbers.jl that referenced this pull request May 1, 2024
kimikage added a commit to kimikage/FixedPointNumbers.jl that referenced this pull request May 1, 2024
kimikage added a commit to kimikage/FixedPointNumbers.jl that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Major breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC] Suffix in print(::IO, ::FixedPoint) or string(::FixedPoint)

1 participant