Changeset 52 for sources/src/sc_numrep.cc
- Timestamp:
- Jan 22, 2013, 4:23:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_numrep.cc
r27 r52 35 35 36 36 #include <string> 37 37 38 #include "sc_numrep.h" 39 38 40 #ifdef HAVE_CONFIG_H 39 41 #include "config.h" … … 43 45 44 46 const std::string numrep_name[] = { 45 "SC_DEC",46 "SC_BIN",47 "SC_BIN_US",48 "SC_BIN_SM",49 "SC_OCT",50 "SC_OCT_US",51 "SC_OCT_SM",52 "SC_HEX",53 "SC_HEX_US",54 "SC_HEX_SM",55 "SC_CSD"47 "SC_DEC", 48 "SC_BIN", 49 "SC_BIN_US", 50 "SC_BIN_SM", 51 "SC_OCT", 52 "SC_OCT_US", 53 "SC_OCT_SM", 54 "SC_HEX", 55 "SC_HEX_US", 56 "SC_HEX_SM", 57 "SC_CSD" 56 58 }; 57 59 58 const std::string 59 to_string (sc_numrep n) 60 { 61 return numrep_name[n]; 60 const std::string to_string (sc_numrep n) { 61 return numrep_name[n]; 62 62 } 63 63 … … 65 65 } // end of sc_dt namespace 66 66 67 /* 68 # Local Variables: 69 # tab-width: 4; 70 # c-basic-offset: 4; 71 # c-file-offsets:((innamespace . 0)(inline-open . 0)); 72 # indent-tabs-mode: nil; 73 # End: 74 # 75 # vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 76 */ 77
Note: See TracChangeset
for help on using the changeset viewer.