| | Re: NQC with C++ header file
|
| (...) What specifically do you have in mind? The limitation is going to be from the firmware bytecodes...no floating point, no transcendentals, no math larger than 16 bits. Switching over to legOS would give you floating point, but still no (...) (24 years ago, 25-Oct-00, to lugnet.robotics)
| | | | RE: NQC with C++ header file
|
| (...) Bah! We don't need no stinkin floating point. Here are a few approximations to real and transcendental numbers that you can make by dividing signed integers - the error is gennerally less that 1 in 1,000,000 pi 355 /113 sqrt(2) 19601 / 13860 e (...) (24 years ago, 25-Oct-00, to lugnet.robotics)
| | | | RE: NQC with C++ header file
|
| Absolutely! You'd be amazed at what can be done with 16 bit integer arithmetic if you operate at some suitable scale factor, depending upon the requirements - x10, x100, x16, x256. It depends on the ease with which you can shift and/or divide. As (...) (24 years ago, 25-Oct-00, to lugnet.robotics)
| |