mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-07 02:09:52 +08:00
# constexpr noexcept
This commit is contained in:
parent
be4683501e
commit
cdabfe49af
@ -79,7 +79,7 @@ template <typename T> std::string fHexAndDec(T v) {
|
|||||||
return ss.str();
|
return ss.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string_view round_name(int const d) {
|
constexpr std::string_view round_name(int const d) noexcept {
|
||||||
switch (d) {
|
switch (d) {
|
||||||
case FE_UPWARD:
|
case FE_UPWARD:
|
||||||
return "FE_UPWARD";
|
return "FE_UPWARD";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user