diff options
Diffstat (limited to 'source/blender/blenlib/intern/math_base_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index 0f282805e71..647ab8aa478 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -348,7 +348,7 @@ MINLINE size_t clamp_z(size_t value, size_t min, size_t max) /** * Almost-equal for IEEE floats, using absolute difference method. * - * \param max_diff the maximum absolute difference. + * \param max_diff: the maximum absolute difference. */ MINLINE int compare_ff(float a, float b, const float max_diff) { @@ -358,9 +358,9 @@ MINLINE int compare_ff(float a, float b, const float max_diff) /** * Almost-equal for IEEE floats, using their integer representation (mixing ULP and absolute difference methods). * - * \param max_diff is the maximum absolute difference (allows to take care of the near-zero area, + * \param max_diff: is the maximum absolute difference (allows to take care of the near-zero area, * where relative difference methods cannot really work). - * \param max_ulps is the 'maximum number of floats + 1' allowed between \a a and \a b to consider them equal. + * \param max_ulps: is the 'maximum number of floats + 1' allowed between \a a and \a b to consider them equal. * * \see https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ */ |