Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jul 24, 2024
1 parent 36d1bd8 commit c61ab40
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/LibDecimalFloat.sol
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,13 @@ library LibDecimalFloat {
return signedCoefficientA > signedCoefficientB;
}

/// Fractional component of a float.
/// @param signedCoefficient The signed coefficient of the floating point
/// number.
/// @param exponent The exponent of the floating point number.
/// @return signedCoefficient The signed coefficient of the fractional
/// component.
/// @return exponent The exponent of the fractional component.
function frac(int256 signedCoefficient, int256 exponent) internal pure returns (int256, int256) {
unchecked {
// if exponent is not negative the frac is 0
Expand Down

0 comments on commit c61ab40

Please sign in to comment.