Skip to content

Commit

Permalink
revert BIGINT->UBIGINT change, seems to have bigger ramifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mreineck committed Oct 19, 2024
1 parent 74ef403 commit 60611eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spreadinterp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static FINUFFT_ALWAYS_INLINE T fold_rescale(const T x, const UBIGINT N) noexcept

template<typename T, class simd_type>
static FINUFFT_ALWAYS_INLINE simd_type fold_rescale(const simd_type &x,

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:AVX2, Off, Release, cl, cl, On)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:AVX2, On, Release, cl, cl, On)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:SSE2, Off, Release, cl, cl, On)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:SSE2, On, Release, cl, cl, On)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, native, Off, Release, cl, cl, On)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, native, On, Release, cl, cl, On)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:SSE2, Off, Release, cl, cl, Off)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:AVX2, On, Release, cl, cl, Off)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, native, On, Release, cl, cl, Off)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:AVX2, Off, Release, cl, cl, Off)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, native, Off, Release, cl, cl, Off)

'inline': used more than once

Check warning on line 227 in src/spreadinterp.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (windows-2022, msvc, /arch:SSE2, On, Release, cl, cl, Off)

'inline': used more than once
const UBIGINT N) noexcept {
const BIGINT N) noexcept {
const simd_type x2pi = T(M_1_2PI);
const simd_type result = xsimd::fma(x, x2pi, simd_type(0.5));
return (result - xsimd::floor(result)) * simd_type(T(N));
Expand Down

0 comments on commit 60611eb

Please sign in to comment.