Re: Problem implementing fixed point math in C/C++ app (32bit 16.16 fixed point), all results are 0.000000
Posted on Yesterday, 03:37
Must be an issue with int type sizes, or compiler, same code works fine on gcc targeting x86_64 and 32-bit x86. I afterwards went through and changed the types to what they *should* be for openwatcom 16bit and it still gave me 5.0000 though, so I'd lean more on the side of compiler. I just figured …