Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- ... and I changed it to (unsigned float *). ... --- Quote End --- Not exactly sure what an unsigned float is (sort of like jumbo shrimp). What compiler are you using that didn't flag this as an error of some sort? I think the compiler must have used the unsigned as an unsigned int, ignored the float part, and then treated it the same as my original. I would hope that (float *) would not work because that would put you right back where you started. The 'union' way of doing it is semantically different, but an identical end-effect. Just looking at the same value in a different way.