Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-main.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-main.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5115, Tue Jul 18 19:30:09 2017 UTC revision 5116, Tue Jul 18 21:32:07 2017 UTC
# Line 55  Line 55 
55              delete wrld;              delete wrld;
56              exit(1);              exit(1);
57          }          }
58            *wrld->_printTo << std::boolalpha;
59    #ifdef DIDEROT_SINGLE_PRECISION
60          // based on https://en.wikipedia.org/wiki/Single-precision_floating-point_format
61            *this->_printTo << std::setprecision(9);
62    #else /* DIDEROT_DOUBLE_PRECISION */
63          // based on https://en.wikipedia.org/wiki/Double-precision_floating-point_format
64            *this->_printTo << std::setprecision(17);
65    #endif
66        }
67        else {
68            std::cout << std::boolalpha;
69    #ifdef DIDEROT_SINGLE_PRECISION
70            std::cout << std::setprecision(9);
71    #else /* DIDEROT_DOUBLE_PRECISION */
72            std::cout << std::setprecision(17);
73    #endif
74      }      }
75    
76    // initialize scheduler stuff    // initialize scheduler stuff

Legend:
Removed from v.5115  
changed lines
  Added in v.5116

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0