Skip to content

Commit

Permalink
use native Julia code in round example (#46841)
Browse files Browse the repository at this point in the history
  • Loading branch information
udohjeremiah authored Sep 20, 2022
1 parent 89c4a2a commit 276af84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/floatfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ julia> round(357.913; sigdigits=4, base=2)
value represented by `1.15` is actually *less* than 1.15, yet will be
rounded to 1.2. For example:
```jldoctest; setup = :(using Printf)
```jldoctest
julia> x = 1.15
1.15
julia> @sprintf "%.20f" x
"1.14999999999999991118"
julia> big(1.15)
1.149999999999999911182158029987476766109466552734375
julia> x < 115//100
true
Expand Down

5 comments on commit 276af84

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@vtjnash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@vtjnash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performance loss on the symdiff set operations was expected from #46397 (assuming this was the expected amount of regression there?). The rest seems unchanged.

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

Please sign in to comment.