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

Back to Subject List

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


 
#69950 - RE: Convert int to a string
Responding to: ???'s previous message
Now I come to think of it, if you look here:

http://www.programmersheaven.com/zone5/cat.../32144.htm

radix_conversion() can be used without modification by casting the value parameter to a long int. radix_conversion() will still run reasonably quickly because it terminates when all the digits have been generated.

radix_conversion() could be fairly easily modified to call fast_int_divide() instead of fast_long_divide(). The most significant difference is that the divisor is passed in R2 rather than R3. If you change value to a int, that will change location of all the parameters which could be tricky, but can be done.

Enjoy.

List of 12 messages in thread
TopicAuthorDate
Convert int to a string            01/01/70 00:00      
   RE: Convert int to a string            01/01/70 00:00      
   RE: float to ascii            01/01/70 00:00      
   RE: Convert int to a string            01/01/70 00:00      
   RE: Convert int to a string            01/01/70 00:00      
   RE: Convert int to a string            01/01/70 00:00      
      RE: Convert int to a string            01/01/70 00:00      
   Back to basics            01/01/70 00:00      
   RE: Convert int to a string            01/01/70 00:00      
      RE: Convert int to a string            01/01/70 00:00      
         RE: Convert int to a string            01/01/70 00:00      
   RE: Convert int to a string            01/01/70 00:00      

Back to Subject List