Hi Vasile, 2010/4/8 vasile surducan <[email protected]>: > >> 0.14697265625 is 301 / 2048, > > Hi Joep, how do you compute those without headaches? > Vasile
It is a result of a binary divide, so multiply with a large power of two (65536) and see if the result is an integer (9632) . (If it is not, you need a larger power of two or the number is not a result of a binary divide of an integer - other process or rounding...) If the result is an integer, divide it by two until the result is odd (301). Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
