summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-01-26 09:29:05 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-09-10 20:00:06 +0900
commit6e62cf46edc59aede8ddcc5b272b24f5e019d24b (patch)
tree3401ae6c416a806af9df3f450937f9119509c1af /object.c
parent887c1f117dfe3a46478faea00d084ee8374b643f (diff)
include/ruby/internal/arithmetic/double.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'object.c')
-rw-r--r--object.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/object.c b/object.c
index a9c557de5c..443f0d1779 100644
--- a/object.c
+++ b/object.c
@@ -3624,13 +3624,6 @@ rb_num_to_dbl(VALUE val)
return RFLOAT_VALUE(val);
}
-/*!
- * Converts a \c Numeric object to \c double.
- * \param[in] val a \c Numeric object
- * \return the converted value
- * \exception TypeError if \a val is not a \c Numeric or
- * it does not support conversion to a floating point number.
- */
double
rb_num2dbl(VALUE val)
{