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 Dave

    Have never used the forum before, but I have been driven here by the same need... my project required greater precision than 'float' & I have discovered the hard way that the Keil tools (otherwise very good) ignore the 'double' declaration.

    You can get a double precision maths library that Keil claim will do the job... it's called GoFast from microdigital (see http://www.smxinfo.com) but it costs around $5,000. I cannot justify the cost as all I need is the four basic functions (+ - / and *). I have had a quick look at the problem & it seems this could be done as C functions (using a union to create the data type & writing functions to do the maths) - if this is all you need, do you want to collaborate on writing & testing these?

    BR Paul

Reply
  • Hello Dave

    Have never used the forum before, but I have been driven here by the same need... my project required greater precision than 'float' & I have discovered the hard way that the Keil tools (otherwise very good) ignore the 'double' declaration.

    You can get a double precision maths library that Keil claim will do the job... it's called GoFast from microdigital (see http://www.smxinfo.com) but it costs around $5,000. I cannot justify the cost as all I need is the four basic functions (+ - / and *). I have had a quick look at the problem & it seems this could be done as C functions (using a union to create the data type & writing functions to do the maths) - if this is all you need, do you want to collaborate on writing & testing these?

    BR Paul

Children
More questions in this forum