Talk:List of data types

From FIRSTwiki

Jump to: navigation, search
Are stored in scientific notation?

See MPLAB C18 C Compiler User's Guide.

The MPLAB C18 format for floating-point numbers is a modified form of the IEEE 754 format. The difference between the MPLAB C18 format and the IEEE 754 format consists of a rotation of the top nine bits of the representation. A left rotate will convert from the IEEE 754 format to the MPLAB C18 format. A right rotate will convert from the MPLAB C18 format to the IEEE 754 format.

For information on the referred standard, see wikipedia:IEEE floating-point standard.

Also, I'd recommend you look at the Compiler User's Guide for a nice table of data types with size and range. Use that to format this page in a table. And aside from those it mentions, perhaps a reference to 'void' is in order? --Mrawls 16:38, 8 Jun 2004 (EDT)

  1. Sort of. I infered that from the compiler's users guide. Actually, I think it's more like A * 2^B than A * 10^B.
  2. No, I have not read the standard. Feel free to correct it.
  3. I did use the table, but I didn't format it. (I can't ever remember that).
  4. Yes, void and strings should be mentioned. --Astronouth7303 16:43, 8 Jun 2004 (EDT)
Yeah, that's why I was trying to push the table format to someone else ;) So far as your reference to scientific notation, I was just referring you to the documentation in case you wanted to re-word it yourself. As of yet, I may get around to it eventually. --Mrawls 16:50, 8 Jun 2004 (EDT)
Currently, all I really care about floating-point is that it works. I primarily included it in the article to explain the ranges. --Astronouth7303
Personal tools