Re: Float to ASCII conversion?

From: CBarn24050 (cbarn24050_at_aol.com)
Date: 02/20/04


Date: 20 Feb 2004 10:50:32 GMT

Hi, sprintf is part of the standard library so it should be there. It is a big
module and not very fast but so are all the other floating point routines. If
your project is hardware / speed limited then you really should consider
upgrading or not using floating point at all.



Relevant Pages

  • Re: Float to ASCII conversion?
    ... sprintf is part of the standard library so it should be there. ... >> module and not very fast but so are all the other floating point routines. ... > avoid floating points, it is just a reason to avoid such function calls. ...
    (comp.arch.embedded)
  • Re: Float to ASCII conversion?
    ... sprintf is part of the standard library so it should be there. ... > module and not very fast but so are all the other floating point routines. ... avoid floating points, it is just a reason to avoid such function calls. ...
    (comp.arch.embedded)
  • Re: sprintf
    ... sprintf() can be used safely if you're sufficiently careful ... which are under the control of your program and can be checked before ... Thats the problem with floating point numbers ... there is a conversion from double to float. ...
    (comp.lang.c)
  • Re: Why floating numbers dont subtract?
    ... I have created two floating numbers using sprintf. ... When I try to subtract them I get: ... Note the comma for a decimal point in the output, but a period in the input. ...
    (comp.lang.awk)
  • Re: floating point to ASCII conversion
    ... I have no library routines that do the job (like sprintf etc.), ... My actual algorithm uses multiplying with 10 to shift the fraction into ... an integer value and to aquire the used exponent. ... 300 time consuming floating point multiplies to convert this number. ...
    (comp.lang.c)