-
converts decimal float to IEEE754 format 16-bit floating point: 1-bit sign | 4-bit exponent | 11-bit fraction/mantissa
in-line comments added as a doc
-
same as above, but generates random floats between macros HI and LO
check main()
-
generates random floats and prints output in a JSON file
Usefull for Logisim Circuit Tester
added my mahdihasnat
-
converts 16-bit floating point decimal in IEEE754 format
added by NazmulTakbir
ksaifahmed / fpa_test_case_gen Goto Github PK
View Code? Open in Web Editor NEW.cpp src to gen some floating point values for testing hardware implementation