--Bug fixes

-Fix some recently changed calls to fma().

--Code changes
 -Update version to 1.0.0.16.
This commit is contained in:
Person
2019-05-16 20:56:05 -07:00
parent b4e5c01b5a
commit d8b3dd40d6
9 changed files with 16 additions and 16 deletions

View File

@ -179,7 +179,7 @@ static const char* RandFunctionString =
"\n"
"inline real_t MwcNext01(uint2* s)\n"
"{\n"
" return MwcNext(s) * (1.0 / 4294967296.0);\n"
" return MwcNext(s) * (real_t)(1.0 / 4294967296.0);\n"
"}\n"
"\n"
"inline real_t MwcNextFRange(uint2* s, real_t lower, real_t upper)\n"
@ -191,7 +191,7 @@ static const char* RandFunctionString =
"inline real_t MwcNextNeg1Pos1(uint2* s)\n"
"{\n"
" real_t f = (real_t)MwcNext(s) / (real_t)UINT_MAX;\n"
" return fma(f, 2.0, -1.0);\n"
" return fma(f, (real_t)2.0, (real_t)-1.0);\n"
"}\n"
"\n"
"inline real_t MwcNext0505(uint2* s)\n"