Changeset 375 for cpp/common/nonstd_math.cpp
- Timestamp:
- 04/26/15 00:59:09 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/nonstd_math.cpp
r372 r375 81 81 // But it was resolved by restarting windows and cleaning all intermediate compilation files :o (restarting windows was the key element! restarting BC++Builder and deleting files would not help) 82 82 83 #include " hmessage.h"83 #include "log.h" 84 84 85 85 unsigned int fp_control_word_std; … … 89 89 { 90 90 //unsigned int was=_clear87(); 91 // Hprintf("","fpExceptInit",HMLV_INFO,"control87 status before clear was %08x", was);91 //logPrintf("","fpExceptInit",LOG_INFO,"control87 status before clear was %08x", was); 92 92 fp_control_word_std=_control87(0, 0); //4978 = 1001101110010 93 93 // Make the new fp env same as the old one, except for the changes we're going to make … … 98 98 { 99 99 unsigned int was=_clear87(); //trzeba czyscic zeby nie bylo exception... 100 // Hprintf("","fpExceptEnable ",HMLV_INFO,"control87 status before clear was %08x", was);100 //logPrintf("","fpExceptEnable ",LOG_INFO,"control87 status before clear was %08x", was); 101 101 _control87(fp_control_word_std, 0xffffffff); 102 // Hprintf("","fpExceptEnable ",HMLV_INFO,"control87 flags are %08x", _control87(0, 0)); //kontrola co sie ustawilo102 //logPrintf("","fpExceptEnable ",LOG_INFO,"control87 flags are %08x", _control87(0, 0)); //kontrola co sie ustawilo 103 103 } 104 104 … … 106 106 { 107 107 unsigned int was=_clear87(); //trzeba czyscic zeby nie bylo exception... 108 // Hprintf("","fpExceptDisable",HMLV_INFO,"control87 status before clear was %08x", was);108 //logPrintf("","fpExceptDisable",LOG_INFO,"control87 status before clear was %08x", was); 109 109 _control87(fp_control_word_muted, 0xffffffff); 110 // Hprintf("","fpExceptDisable",HMLV_INFO,"control87 flags are %08x", _control87(0, 0)); //kontrola co sie ustawilo110 //logPrintf("","fpExceptDisable",LOG_INFO,"control87 flags are %08x", _control87(0, 0)); //kontrola co sie ustawilo 111 111 } 112 112
Note: See TracChangeset
for help on using the changeset viewer.