Testpad for itoa()

This is a discussion on Testpad for itoa() within the C Programming forums, part of the General Programming Boards category; Final test is over: Code: Testing version : itoas() final test ------------------------------------------ Testing on Intel Core 2 Duo E6600 2.4 ...

  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
    Attached Files Attached Files

  2. #92
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,183
    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.

Page 7 of 7 FirstFirst 1234567
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21