Changeset 0d49efb
- Timestamp:
- Oct 9, 2023, 8:02:42 AM (13 months ago)
- Branches:
- master
- Children:
- 946a6e4, eb779d5
- Parents:
- 4817662
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
r4817662 r0d49efb 11 11 // Created On : Wed May 27 17:56:53 2015 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : S at Sep 2 14:42:01 202314 // Update Count : 156 113 // Last Modified On : Sun Oct 8 12:10:21 2023 14 // Update Count : 1564 15 15 // 16 16 … … 651 651 exp10 = floor( exp10, 3 ); \ 652 652 value *= pow( 10.0, -exp10 ); \ 653 if ( pc < = 3) pc = 3; \653 if ( pc < 0 ) pc = 3; \ 654 654 } /* eng */ \ 655 655 \ -
libcfa/src/iostream.hfa
r4817662 r0d49efb 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : S at Sep 2 14:42:13202313 // Update Count : 56 712 // Last Modified On : Sun Oct 8 12:02:55 2023 13 // Update Count : 568 14 14 // 15 15 … … 243 243 _Ostream_Manip(T) hex( T val ) { return (_Ostream_Manip(T))@{ val, 1, 0, 'a', { .all : 0 } }; } \ 244 244 _Ostream_Manip(T) sci( T val ) { return (_Ostream_Manip(T))@{ val, 1, 0, 'e', { .all : 0 } }; } \ 245 _Ostream_Manip(T) eng( T val ) { return (_Ostream_Manip(T))@{ val, 1, 0, 'g', { .flags.eng : true } }; } \245 _Ostream_Manip(T) eng( T val ) { return (_Ostream_Manip(T))@{ val, 1, -1, 'g', { .flags.eng : true } }; } \ 246 246 _Ostream_Manip(T) wd( unsigned int w, T val ) { return (_Ostream_Manip(T))@{ val, w, 0, 'g', { .all : 0 } }; } \ 247 247 _Ostream_Manip(T) wd( unsigned int w, unsigned int pc, T val ) { return (_Ostream_Manip(T))@{ val, w, pc, 'f', { .flags.pc : true } }; } \
Note: See TracChangeset
for help on using the changeset viewer.