Implemented the ISERR() function in ruby
Implemented ISERR function in C