Added documentation for 'inf' and 'nan'.