I was studying an algorithm book that faced to the following sentence. Please describe it for me.
real (10,7): The real(10,7) data type denotes a real number with a precision of seven significant digits.
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
REALis defined in the SQL standard as a binary floating-point type. However, AFAIK its precision is implementation-dependant (typically IEEE 754 single or double precision, i.e. your regular 32 or 64 bit floats). This may be a mistake in the book, or a proprietary extension of the standard.