Need help with basic multiplication operation of floating point numbers in binary.

17 views
Skip to first unread message

Adarsh

unread,
Apr 6, 2022, 6:47:57 AM4/6/22
to EDA Playground
I am doing my programming in the EDA playground, I am trying to do the basic floating-point number 8 bit binary multiplication, I am attaching the image of the result here, can anyone help me with the multiplication.



mul_image.png

EDA Playground

unread,
Apr 6, 2022, 7:47:58 AM4/6/22
to EDA Playground
Don't you need this?

    $display("%f * %f = %f", $itor(t_a)*SF, $itor(t_b)*SF, $itor(t_y)*SF*SF);

Reply all
Reply to author
Forward
0 new messages