Skip to content

Files

Latest commit

 

History

History
33 lines (14 loc) · 740 Bytes

README.md

File metadata and controls

33 lines (14 loc) · 740 Bytes
  1. DECIMAL_FLOAT_TO_IEEE754_FP.cpp

    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

  2. FPA_TC_GEN.cpp

    same as above, but generates random floats between macros HI and LO

    check main()

  3. FPA_TC_GEN_JSON.cpp

    generates random floats and prints output in a JSON file

    Usefull for Logisim Circuit Tester

    added my mahdihasnat

  4. bin_to_dec.py

    converts 16-bit floating point decimal in IEEE754 format

    added by NazmulTakbir