Skip to content

Commit 823abf0

Browse files
committed
Moved getRange to FIXMATH_DEBUG
1 parent 17349e4 commit 823abf0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/FixMath.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class UFix
554554
*/
555555
static constexpr int8_t getNF() {return NF;}
556556

557-
/** The (absolute) range of the integral part of the number
557+
/** The (absolute) range of the integral part of the number, as far as it can be determined at compile time. The true range of the number will typically be lower than (at most the same as) this, so it is not recommended to use this in computations. Available with #define FIXMATH_DEBUG
558558
@return The range of the number
559559
*/
560560
static constexpr int8_t getRANGE() {return RANGE;}
@@ -1116,7 +1116,7 @@ typedef FixMathPrivate::SFixByRange_t<NF, RANGE+1> returntype;
11161116
*/
11171117
static constexpr int8_t getNF() {return NF;}
11181118

1119-
/** The (absolute) range of the integral part of the number
1119+
/** The (absolute) range of the integral part of the number, as far as it can be determined at compile time. The true range of the number will typically be lower than (at most the same as) this, so it is not recommended to use this in computations. Available with #define FIXMATH_DEBUG
11201120
@return The range of the number
11211121
*/
11221122
static constexpr int8_t getRANGE() {return RANGE;}

0 commit comments

Comments
 (0)