- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo,
I know that my question is a little bit silly but till now I can not understand what happened here?
In file ippiman.pdf page 55, I found this one
The following example shows how the precision can be partially retained by means of scaling.The integer square root operation
ippiSqrt (without scaling) for the input value 2 gives the result equal to 1 instead of 1.414. Scaling of the internally computed output value with the factor scaleFactor = -3 gives the result 11, and permits to restore the more precise value as 11*2^-3=1.375.I didn't understand the bold line, where does "11" come from? Why do we have 11 but not another number?
Thank you very much for any help.
Best,
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you very much for your reply, I have another question about scaleFactor. There are many functions that have scaleFactor, if I don't want to use it, just set itequal 0. Is it right?
Thank you again
Regards

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page