2.0a6x
added Duration overload for Execution::Sleep()
fixed a couple errant TraceContextBumper/DbgTrace() calls
more performant duration code (slightly); and fixed serious bug with converting numeric (e.g. float) reps to string - was only keeping 6 digits of precision after decimal point on number of seconds!; commented todo; and added regtests
Further fixes to Duration unparse code; and more regression tests and internal tests
cleanup workaround for qCompilerAndStdLib_TemplateCompileWithNumericLimitsCompilerBug, and use 100x instead of 1000x for default epsilon
apply qCompilerAndStdLib_HasFirstTimeUsePerTranslationUnitFloatingPointBug BWA to Trace module
lose precision arg to CString::Float2String
refactored Float2String () - to take Float2StringOptions with several additional options; used those to improve MemoryVariant::... conert float to string - now uses right precision
fixed syntax error missed by vc++
runastyle
fixed variant value code to better support min-longlong and max-longlong, and added regtests to verify
Added helper class - precision - for Characters::Float2StringOptions to avoid overload confusion; options.fTrimTrailingZeros; Comments;
fixed (hopefully) VariantValue case eFloat AsString() code - so it prints enuf
changed nan() and String2Float() to template functions - not regular functions returning double; used that to fix VariantValue() to use long-double internally for its call to String2Flaot() - fixing roundtrip bug on platforms where long double differs from double (like g++)
Fixed Characters::String2Float() template declarations
react (in tests) to change (templates) for nan<> and String2Float
react (in tests) to change (templates) for nan<> and String2Float
not sure what the best/most reasnable value is - but changed epsilon for NearlyEquals / PitToSpecailPoint to 10000 * numerical_limits<>::epsilon (needed to make 4.7 conversion serailization / deseriaze to work on gcc/linux - must investigate to find right answer?
when comparing floating point numbers - VariantValue::Equals now uses Math::NearlyEquals