StanfordAHA/lassen

Add support for casting from float to Int

Opened this issue · 3 comments

Add support for casting from float to Int

This was done sometime back.

@nikhilbhagdikar, can you add an explicit unit test showing how to do this?

I explained this during previous meeting.
A = get_int(bfloat_var);
B = get_frac(bfloat_var);
if (B>0x80) A++;
I will add a complex test case.