This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Double precision maths library

Has anyone any idea where I can get a double precision maths library which will work with the Keil C51 compiler.

Parents
  • Hello Andy

    The processor (Cypress CY7C68013) was chosen becaus it has a built in USB2.0 engine. The Keil tools because a demo came with the Cypress development kit & looked good (still think it is).

    Anyway, I am not disappointed with the choice - unless the processor has a floating-point maths processor someone (compiler supplier or me) has to write some maths software. Going to double precision adds little to the software and probably only costs a factor of little more than 2 on time (4 for multiply). I only need to crunch some precise numbers once every 100ms so this shouldn't be too much of a loading... I will find out when I start coding this tomorrow!

    Thanks & best regards - Paul

Reply
  • Hello Andy

    The processor (Cypress CY7C68013) was chosen becaus it has a built in USB2.0 engine. The Keil tools because a demo came with the Cypress development kit & looked good (still think it is).

    Anyway, I am not disappointed with the choice - unless the processor has a floating-point maths processor someone (compiler supplier or me) has to write some maths software. Going to double precision adds little to the software and probably only costs a factor of little more than 2 on time (4 for multiply). I only need to crunch some precise numbers once every 100ms so this shouldn't be too much of a loading... I will find out when I start coding this tomorrow!

    Thanks & best regards - Paul

Children
  • "The processor (Cypress CY7C68013) was chosen becaus it has a built in USB2.0 engine."

    Presumably, that means that it'll be connected to a PC?

    Could you no send the "raw" data to the PC, have the PC do the number crunching, and perhaps send the results back?

    Or is it not always connected to a PC?