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/par-main.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/target-cpu/fragments/par-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 70  Line 70 
70              delete wrld;              delete wrld;
71              exit(1);              exit(1);
72          }          }
73            wrld->_printTo << std::boolalpha;
74    #ifdef DIDEROT_SINGLE_PRECISION
75          // based on https://en.wikipedia.org/wiki/Single-precision_floating-point_format
76            *this->_printTo << std::setprecision(9);
77    #else /* DIDEROT_DOUBLE_PRECISION */
78          // based on https://en.wikipedia.org/wiki/Double-precision_floating-point_format
79            *this->_printTo << std::setprecision(17);
80    #endif
81        }
82        else {
83            std::cout << std::boolalpha;
84    #ifdef DIDEROT_SINGLE_PRECISION
85            std::cout << std::setprecision(9);
86    #else /* DIDEROT_DOUBLE_PRECISION */
87            std::cout << std::setprecision(17);
88    #endif
89      }      }
90    
91      wrld->_sched->set_num_workers (reqNumWorkers);      wrld->_sched->set_num_workers (reqNumWorkers);

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