# Little bug in newton.rb

**URL:** <https://www.ruby-forum.com/t/little-bug-in-newton-rb/62957>\
**Category:** Ruby\
**Created:** [June 9, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/little-bug-in-newton-rb/62957 "2006-06-09T22:08:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meinrad\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ecae2f/32.png) [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Post date:** [June 9, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/little-bug-in-newton-rb/62957/1 "2006-06-09T22:08:37Z")

</div>

dear all,  
i just spotted a little bug in ruby/lib/1.8/bigdeciaml/newton.rb  
there in line 63 it says:

```
      raize "Failed to reduce function values."

```

this will raise a NoMethod error instead of the intended RuntimeError  
with the given message.  
also there are no unittests added to the files in bigdecimal. are they  
completely lacking unittests or are the tests somewhere else?

best wishes,  
– henon

---

<div class="post-metadata">

**Author:** ![Meinrad\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ecae2f/32.png) [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Post date:** [June 10, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/little-bug-in-newton-rb/62957/2 "2006-06-10T18:40:51Z")

</div>

Meinrad R. wrote:

> best wishes,  
> – henon

You should report this on the RubyForge bug tracker:

[http://rubyforge.org/tracker/?atid=1698&group\_id=426&func=browse](http://rubyforge.org/tracker/?atid=1698&group_id=426&func=browse)

Regards,

Dan
