I can calculate the relative error of that answer if you like.

]]>The exact value is 3 / 10, now what did you get for your floating point value?

I got

..Is this right?]]>Is this what you are calculating?

Yes, I calculate the real value of this

and its value as a floating-point number.So,the result I am looking for should have the form ]]>

What is your result?

I found

.]]>Hi evinda;

I am afraid I do not understand what you want. What do you want to check the relative error for?

I found the relative error

but I don't know if the result that I found is right.]]>I am afraid I do not understand what you want. What do you want to check the relative error for?

]]>Suppose base=10 , precision t=3, -L=U=10 and

I want to calculate the relative error for B.

We don't make rounding.For example,if we have the value 345.924 it is equal to and the corresponding floating number is .

Could you tell me which is the result,so I can check mine?

]]>