Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    rf6a4917 rcce4648  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Aug 25 18:05:49 2022
    13 // Update Count     : 1354
     12// Last Modified On : Wed Jan 19 08:15:53 2022
     13// Update Count     : 1352
    1414//
    1515
     
    197197                        fmt( os, "%s", buf ); \
    198198                        if ( isfinite( val ) ) { /* if number, print decimal point when no fraction or exponent */ \
    199                                 for ( i; 0 ~ @ ) { \
     199                                for ( int i = 0;; i += 1 ) { \
    200200                                        if ( i == len ) { fmt( os, "." ); break; } \
    201201                                        if ( buf[i] == '.' || buf[i] == 'e' || buf[i] == 'E' ) break; /* decimal point or scientific ? */ \
Note: See TracChangeset for help on using the changeset viewer.