Update RealNumber.cpp

Added is_defined() implementation