Skip to content

Commit

Permalink
Merge pull request #741 from trcrsired/master
Browse files Browse the repository at this point in the history
fix my_floating_point concept
  • Loading branch information
trcrsired authored Jun 15, 2024
2 parents 6317cf0 + 9c18699 commit 430cbcf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
15 changes: 15 additions & 0 deletions include/fast_io_core_impl/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,21 @@ concept my_floating_point = ::std::floating_point<T>
#endif
#ifdef __SIZEOF_FLOAT128__
|| ::std::same_as<::std::remove_cv_t<T>, __float128>
#endif
#ifdef __STDCPP_BFLOAT16_T__
|| ::std::same_as<::std::remove_cv_t<T>, decltype(0.0bf16)>
#endif
#ifdef __STDCPP_FLOAT16_T__
|| ::std::same_as<::std::remove_cv_t<T>, _Float16>
#endif
#ifdef __STDCPP_FLOAT32_T__
|| ::std::same_as<::std::remove_cv_t<T>, _Float32>
#endif
#ifdef __STDCPP_FLOAT64_T__
|| ::std::same_as<::std::remove_cv_t<T>, _Float64>
#endif
#ifdef __STDCPP_FLOAT128_T__
|| ::std::same_as<::std::remove_cv_t<T>, _Float128>
#endif
;

Expand Down
11 changes: 7 additions & 4 deletions support.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,13 @@ On Windows 95 or 95 Plus! you can enable `-O3` but not `-Ofast`. You'll also nee
- MSVCRT
- Universal CRT
- Universal CRT with MSVC debugging
- Wine's Emulated MSVCRT
- Wine's Emulated UCRT
- ReactOS Emulated MSVCRT
- ReactOS Emulated UCRT
- Wine's MSVCRT
- Wine's UCRT 9.11+

See wine bug [PR53960](https://gitlab.winehq.org/wine/wine/-/merge_requests/5752)

- ReactOS MSVCRT
- ReactOS UCRT
- BSD libc/Apple Darwin
- MUSL libc
- DJGPP
Expand Down

0 comments on commit 430cbcf

Please sign in to comment.