Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. Fixfloat_t Fixfloat_t::operator*(const Fixfloat_t &rhs){
  2.     uint32_t decimals = this->decimals * rhs.decimals;
  3.     decimals = (uint16_t)(decimals >> 16);
  4.  
  5.     return Fixfloat_t(decimals);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement