• Robert Kimball's avatar
    bfloat16 testing and fixes (#2693) · 667d8f9e
    Robert Kimball authored
    * add test file
    
    * add new float_util files
    
    * Add unit tests for bfloat. Fix bfloat rounding code since it was incorrectly rounding.
    
    * add more tests
    
    * cleanup
    
    * change trucate to be endian agnostic
    
    * prep work for constexpr ctors
    
    * ready for constexpr
    
    * constexpr ctor for bfloat16
    
    * more bfloating
    
    * write constexpr isnan since it is not constexpr on Macos
    
    * remove cast operator
    
    * add benchmark test and cleanup
    
    * use aligned buffers for benchmark tests
    
    * fix numbers printed in benchmark
    
    * remove union and use cast operator
    
    * all tests passing
    
    * cleanup
    667d8f9e
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...