1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* internal.h: added declarations.

* complex.c: followed the above change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2011-07-09 10:50:51 +00:00
parent 88b6d5050b
commit bc11aa72d3
3 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sat Jul 9 19:48:31 2011 Tadayoshi Funaba <tadf@dotrb.org>
* internal.h: added declarations.
* complex.c: followed the above change.
Sat Jul 9 17:24:41 2011 Tadayoshi Funaba <tadf@dotrb.org>
* NEWS: bigdecimal is not a builtin.

View file

@ -486,7 +486,6 @@ nucomp_f_complex(int argc, VALUE *argv, VALUE klass)
}
#define imp1(n) \
extern VALUE rb_math_##n(VALUE x);\
inline static VALUE \
m_##n##_bang(VALUE x)\
{\
@ -494,7 +493,6 @@ m_##n##_bang(VALUE x)\
}
#define imp2(n) \
extern VALUE rb_math_##n(VALUE x, VALUE y);\
inline static VALUE \
m_##n##_bang(VALUE x, VALUE y)\
{\

View file

@ -110,7 +110,15 @@ VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase);
VALUE rb_get_load_path(void);
/* math.c */
VALUE rb_math_atan2(VALUE, VALUE);
VALUE rb_math_cos(VALUE);
VALUE rb_math_cosh(VALUE);
VALUE rb_math_exp(VALUE);
VALUE rb_math_hypot(VALUE, VALUE);
VALUE rb_math_log(int argc, VALUE *argv);
VALUE rb_math_sin(VALUE);
VALUE rb_math_sinh(VALUE);
VALUE rb_math_sqrt(VALUE);
/* newline.c */
void Init_newline(void);