Skip to content

Commit

Permalink
Missing periods in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-jeon committed Mar 18, 2024
1 parent 96ec64b commit 799437b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/dragonbox/dragonbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -2527,7 +2527,7 @@ namespace jkj {
template <class FloatFormat2, class Dummy = void>
struct compute_mul_impl;

//// The main algorithm assumes the input is a normal/subnormal finite number
//// The main algorithm assumes the input is a normal/subnormal finite number.

template <class ReturnType, class IntervalType, class TrailingZeroPolicy,
class BinaryToDecimalRoundingPolicy, class CachePolicy,
Expand All @@ -2536,7 +2536,7 @@ namespace jkj {
compute_nearest_normal(carrier_uint const two_fc, int const binary_exponent,
AdditionalArgs... additional_args) noexcept {
//////////////////////////////////////////////////////////////////////
// Step 1: Schubfach multiplier calculation
// Step 1: Schubfach multiplier calculation.
//////////////////////////////////////////////////////////////////////

IntervalType interval_type{additional_args...};
Expand Down Expand Up @@ -2564,7 +2564,7 @@ namespace jkj {


//////////////////////////////////////////////////////////////////////
// Step 2: Try larger divisor; remove trailing zeros if necessary
// Step 2: Try larger divisor; remove trailing zeros if necessary.
//////////////////////////////////////////////////////////////////////

constexpr auto big_divisor = compute_power<kappa + 1>(stdr::uint_least32_t(10));
Expand Down Expand Up @@ -2621,7 +2621,7 @@ namespace jkj {


//////////////////////////////////////////////////////////////////////
// Step 3: Find the significand with the smaller divisor
// Step 3: Find the significand with the smaller divisor.
//////////////////////////////////////////////////////////////////////

decimal_significand *= 10;
Expand Down Expand Up @@ -2751,7 +2751,7 @@ namespace jkj {
JKJ_FORCEINLINE JKJ_SAFEBUFFERS static JKJ_CONSTEXPR20 ReturnType
compute_left_closed_directed(carrier_uint const two_fc, int binary_exponent) noexcept {
//////////////////////////////////////////////////////////////////////
// Step 1: Schubfach multiplier calculation
// Step 1: Schubfach multiplier calculation.
//////////////////////////////////////////////////////////////////////

// Compute k and beta.
Expand Down Expand Up @@ -2781,7 +2781,7 @@ namespace jkj {
}

//////////////////////////////////////////////////////////////////////
// Step 2: Try larger divisor; remove trailing zeros if necessary
// Step 2: Try larger divisor; remove trailing zeros if necessary.
//////////////////////////////////////////////////////////////////////

constexpr auto big_divisor = compute_power<kappa + 1>(stdr::uint_least32_t(10));
Expand Down Expand Up @@ -2826,7 +2826,7 @@ namespace jkj {


//////////////////////////////////////////////////////////////////////
// Step 3: Find the significand with the smaller divisor
// Step 3: Find the significand with the smaller divisor.
//////////////////////////////////////////////////////////////////////

decimal_significand *= 10;
Expand All @@ -2840,7 +2840,7 @@ namespace jkj {
compute_right_closed_directed(carrier_uint const two_fc, int const binary_exponent,
bool shorter_interval) noexcept {
//////////////////////////////////////////////////////////////////////
// Step 1: Schubfach multiplier calculation
// Step 1: Schubfach multiplier calculation.
//////////////////////////////////////////////////////////////////////

// Compute k and beta.
Expand All @@ -2859,7 +2859,7 @@ namespace jkj {


//////////////////////////////////////////////////////////////////////
// Step 2: Try larger divisor; remove trailing zeros if necessary
// Step 2: Try larger divisor; remove trailing zeros if necessary.
//////////////////////////////////////////////////////////////////////

constexpr auto big_divisor = compute_power<kappa + 1>(stdr::uint_least32_t(10));
Expand Down Expand Up @@ -2892,7 +2892,7 @@ namespace jkj {


//////////////////////////////////////////////////////////////////////
// Step 3: Find the significand with the small divisor
// Step 3: Find the significand with the small divisor.
//////////////////////////////////////////////////////////////////////

decimal_significand *= 10;
Expand Down

0 comments on commit 799437b

Please sign in to comment.