mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix coding styles
This commit is contained in:
parent
a2b368a7cc
commit
e3e130f58d
80 changed files with 255 additions and 255 deletions
|
@ -16,7 +16,7 @@ namespace sprout {
|
|||
inline SPROUT_CONSTEXPR sprout::pair<T, T>
|
||||
frac_int_impl(T x, T ipart) {
|
||||
typedef sprout::pair<T, T> type;
|
||||
return x == std::numeric_limits<T>::infinity() || x == -std::numeric_limits<T>::infinity() ? type(T(0), ipart)
|
||||
return x == std::numeric_limits<T>::infinity() || x == -std::numeric_limits<T>::infinity() ? type(T(0), ipart)
|
||||
: x == std::numeric_limits<T>::quiet_NaN() ? type(std::numeric_limits<T>::quiet_NaN(), ipart)
|
||||
: type(x - ipart, ipart)
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue