Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/05/07 16:06
Read: times


 
#145484 - Absolutely!
Responding to: ???'s previous message
Tsuneo, your work is great!!

Some years ago I also had to calculate the log, but of a division. So, I subtracted two logs. I used a very similar methode, the differencies were due to the different range of result of division. Also, I had to take a somewhat bigger look-up-table.

Sometimes it's also important to have a good monotonicity, means, that the result can take all possible values, so that a slowly changing signal will not present "lost values" on the display (e.g. "2.34", "2.35", "2.37", "2.38" for a very slowly rising signal). The very interesting result of my calculations and simulations was, that increasing the resolution of numbers not necessarily minimizes the monotonicity errors. I think it mainly has to do with the numberous and unavoidable rounding errors. As for my application good monotonicty was of superior interest, I finally had to calculate with a slightly coarser resolution (which was still precise enough, of course!) than I could have.

So, I would recommend to do a monotonicity check, when the result of your calculation is directly presented to the inclined operator via display.

Kai

List of 30 messages in thread
TopicAuthorDate
1) Log computation, 2) LCD requirement            01/01/70 00:00      
   Yes            01/01/70 00:00      
      Why would you doubt it?            01/01/70 00:00      
      Yes            01/01/70 00:00      
         Doesn't have to be floating point            01/01/70 00:00      
            's the one            01/01/70 00:00      
               the good old Intel FP51 package            01/01/70 00:00      
         Should be in high level language, thanks..            01/01/70 00:00      
            you can steal it...            01/01/70 00:00      
               need floating-point log? - YES            01/01/70 00:00      
                  Fixed point ?            01/01/70 00:00      
                     RE: Fixed point ?            01/01/70 00:00      
                        And what is the input voltage range?            01/01/70 00:00      
                           RE: Aside: dB equivalent of voltage            01/01/70 00:00      
                              my point is...            01/01/70 00:00      
                                 Who remembers log tables?            01/01/70 00:00      
                              Already answered            01/01/70 00:00      
                        So use cB instead!            01/01/70 00:00      
                        Aside: dB equivalent of voltage            01/01/70 00:00      
   How to find log in assembly?            01/01/70 00:00      
      Hint            01/01/70 00:00      
      Math            01/01/70 00:00      
   Log calculation in ASM            01/01/70 00:00      
      Implementation and precision            01/01/70 00:00      
         Correct precision            01/01/70 00:00      
            Brilliant work            01/01/70 00:00      
               Absolutely!            01/01/70 00:00      
   Fixed-point log2, without lookup table.            01/01/70 00:00      
      To Mr Franck            01/01/70 00:00      
         Source for the algorithm.            01/01/70 00:00      

Back to Subject List