Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
arch: [x64]
os: [ubuntu-latest, macOS-latest, Windows-latest]
version: ['1.0', '1']
os: [macOS-latest]
version: ['1.0']

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion src/Constants.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ const ZETA3_F64 = 1.2020569031595943 # zeta(3) with Float64 precision
const ZETA4_F64 = 1.0823232337111382 # zeta(4) with Float64 precision
const ZETA5_F64 = 1.0369277551433699 # zeta(5) with Float64 precision
const ZETA6_F64 = 1.0173430619844491 # zeta(6) with Float64 precision
const EULERGAMMA_F64 = 0.57721566490153286 # Euler gamma constant with Float64 precision
2 changes: 1 addition & 1 deletion src/Harmonic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function harmonic(n::Integer, ::Type{T})::T where T
elseif n == 1
one(T)
elseif issimplefloat(T) && n >= 20
convert(T, EULERGAMMA_F64 + digamma(n + 1))
convert(T, Base.MathConstants.eulergamma + digamma(n + 1))
else
one(T) + sum(x -> inv(T(x)), 2:n)
end
Expand Down
Loading