Ruby: internal/math.h Source File

Ruby 3.4.8p72 (2025-12-17 revision 995b59f66677d44767ce9faac6957e5543617ff9)

math.h
1#ifndef INTERNAL_MATH_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_MATH_H
11#include "ruby/ruby.h" /* for VALUE */
12
13/* math.c */
14 VALUE rb_math_atan2(VALUE, VALUE);
15 VALUE rb_math_cos(VALUE);
16 VALUE rb_math_cosh(VALUE);
17 VALUE rb_math_exp(VALUE);
18 VALUE rb_math_hypot(VALUE, VALUE);
19 VALUE rb_math_log(int argc, const VALUE *argv);
20 VALUE rb_math_sin(VALUE);
21 VALUE rb_math_sinh(VALUE);
22
23#endif /* INTERNAL_MATH_H */
ruby.h
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40