Hello Fellow Rubyists,

Just wanted to introduce/disclose programming using "Prior Knowledge"
based on domain knowledge.

This note in https://github.com/nvijayap/mathematics is self-explanatory
...

IMPORTANT NOTE:
--------------
This program introduces/relies on "Prior Knowledge"
in the domain of mathematics, and avoids
computation where unnecessary.

Also, resorting to computation sometimes doesn't yield
perfect results as known/anticipated. Example:
(environment: ruby 2.0.0p247 (2013-06-27 revision 41674)
[x86_64-darwin12.4.0])

$ ruby -e "puts Math.sin(Math::PI) # I expect 0"
1.2246467991473532e-16
You may be able to use to good effect in your programs.

Happy Ruby "Prior Knowledge" Programming !

Naga

-- 
Posted via http://www.ruby-forum.com/.