db/test: Tell Win32 to only print 2-digit exponents

By default the MS libraries print 3-digit exponents,
whereas the ANSI standard is for 2-digits.
This commit is contained in:
Andrew Johnson
2013-12-17 17:41:13 -06:00
parent dbb8d232ee
commit 0c52d41e95

View File

@@ -479,6 +479,10 @@ MAIN(chfPluginTest)
dbChannel *pch;
db_field_log *pfl;
#ifdef WIN32
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
testPlan(1351);
dbChannelInit();