|
 | | Re: Float and int
|
| (...) You should look in the gnu gcc compiler documentation for this. Float support is not OS but compiler specific. As I recall, gcc uses IEEE float format, the specification should be found somewhere in the net. But doing float with the brick is (...) (23 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
| |  | | Re: Jamocklaquat - The waters are still - a brief pause and analysis -
|
| (...) It'd be nice if it had some AI. Perhaps a camera in the head, hooked up to a computer, sending messages to the RCXs? If you wanted it more advanced, you could have multiple cameras, plus microphones, a speaker, and maybe more sensors (...) (23 years ago, 30-Dec-02, to lugnet.build.mecha, lugnet.technic, lugnet.robotics)
| |  | | Re: Float and int
|
| (...) int is 16 bits, big endian, signed. It goes from -32768 to 32767. unsigned int goes from 0 to 65535. char is 8, long is 32, long long is 64, with the standard limits. Floats and doubles are emulated in software, as the H8/300 processor has no (...) (23 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
| |  | | Float and int
|
| Does anyone know what the maximum and minimum size of integer which can be stored is? Likewise, what is the floating point accuracy of BrickOS for variables of type "float" and "double" (is there such thing in BrickOS?) ? Both of these questions (...) (23 years ago, 29-Dec-02, to lugnet.robotics.rcx.legos)
| |  | | Re: Jamocklaquat - The waters are still - a brief pause and analysis -
|
| Thanks TJ and Thanks for Spotlighting the Technic Beast in the Cool MOCs section too, that really made me happy. I have just figured out a few deatils of its construction. We may see it completed sooner than I thought. I would love to bring it to (...) (23 years ago, 29-Dec-02, to lugnet.build.mecha, lugnet.technic, lugnet.robotics)
| |