mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* numeric.c (Init_Numeric): fixed a potential bug when using bccwin32
ruby with Microsoft's dll, though we already gave up of supporting bccwin32. [ruby-core:33503] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c8814230f
commit
91d2ee737d
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Dec 1 22:01:49 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* numeric.c (Init_Numeric): fixed a potential bug when using bccwin32
|
||||
ruby with Microsoft's dll, though we already gave up of supporting
|
||||
bccwin32. [ruby-core:33503]
|
||||
|
||||
Wed Dec 1 21:43:21 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* array.c: parenthesize macro arguments.
|
||||
|
|
|
@ -3375,6 +3375,7 @@ Init_Numeric(void)
|
|||
#elif defined(__BORLANDC__)
|
||||
/* Turn off floating point exceptions for overflow, etc. */
|
||||
_control87(MCW_EM, MCW_EM);
|
||||
_control87(_control87(0,0),0x1FFF);
|
||||
#endif
|
||||
id_coerce = rb_intern("coerce");
|
||||
id_to_i = rb_intern("to_i");
|
||||
|
|
Loading…
Add table
Reference in a new issue