Thread: Testpad for itoa()

  1. #91
    Registered User
    Join Date
    Jun 2010
    Posts
    182
    Final test is over:
    Code:
                        Testing version : itoas() final test
                     ------------------------------------------
     Testing on Intel Core 2 Duo E6600 2.4 Ghz // X64
     OS = Windows 7 Ultimate 64 bit  --  Compiler = Pelles C 6.00.4
    
     Testing integer numbers generating/comparing
    
     --------------------------------------------------------------------------
     Testing the numbers from: -2.147.483.648  to  +2.147.483.647
    
     The generating/comparing process has taken:
     251.893 ms  to perform the whole cycle
    
     --------------------------------------------------------------------------
    Now any possible integer value has been tested. The entire cycle
    took about 4 minutes and 12 seconds. No goto used

    Attached the final testpad. Time to move to the next stage ===> Look Here

  2. #92
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    The testing loop can be done a lot more elegantly with recursion.

    That might be good exercise?

  3. #93
    Registered User
    Join Date
    Jun 2010
    Posts
    182
    Quote Originally Posted by cyberfish View Post
    The testing loop can be done a lot more elegantly with recursion.

    That might be good exercise?
    If I only knew how to do it Let me learn some more stuff, and you
    probably will get it recursively enough.

Popular pages Recent additions subscribe to a feed