Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rahulvramteke

    tcl 8.5 floating point operation

    Hi I am using tcl 8.5. When I do division 1.0/1e-9 i get 999999999.9999999 instead of 1e9. The same operation on tcl 8.4 works fine. How to get around this problem to get the correct value/ for {set x 0} {$x<20} {incr x} { puts "$x [expr 1/1e-$x]"} ----------- OUTPUT ----------- 0 1.0 1 10.0 2...

Part and Inventory Search

Back
Top