Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #18995

Re: Floating point support not loaded

From Malcolm McLean <malcolm.mclean5@btinternet.com>
Newsgroups comp.lang.c
Subject Re: Floating point support not loaded
Date 2012-03-24 04:15 -0700
Organization http://groups.google.com
Message-ID <22797880.2305.1332587723778.JavaMail.geo-discussion-forums@vbze11> (permalink)
References <58a3b95c-55ea-4d4c-9da0-4c837348b5d0@12g2000vba.googlegroups.com>

Show all headers | View raw


בתאריך יום שבת, 24 במרס 2012 10:04:44 UTC, מאת lo...@live.nl:
> 
> When I use this function, I get the following output:
> 
> runtime error R6002
> - floating point support not loaded
> 
> [function, including]
> sprintf(buf, "%s%%%.2X", buf, string[i]);
>
Probably sprintf automatically drags in the code to covert the %f and %g specifiers. The compiler isn't smart enough to realise they aren't actually needed. Since you don't have floating point enabled, it complains.

-- 
Basic Algorithms - how to implement the math library from scratch
http://www.malcolmmclean.site11.com/www

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Floating point support not loaded lolzy@live.nl - 2012-03-24 03:04 -0700
  Re: Floating point support not loaded Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-03-24 04:15 -0700
  Re: Floating point support not loaded Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-03-24 08:05 -0400
    Re: Floating point support not loaded lolzy@live.nl - 2012-03-24 10:15 -0700
      Re: Floating point support not loaded lolzy@live.nl - 2012-03-24 10:51 -0700
        Re: Floating point support not loaded Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-03-24 14:27 -0400
        Re: Floating point support not loaded Keith Thompson <kst-u@mib.org> - 2012-03-24 14:34 -0700
          Re: Floating point support not loaded Markus Wichmann <nullplan@gmx.net> - 2012-03-26 10:29 +0200
            Re: Floating point support not loaded James Kuyper <jameskuyper@verizon.net> - 2012-03-26 06:48 -0400
              Re: Floating point support not loaded Markus Wichmann <nullplan@gmx.net> - 2012-03-26 13:31 +0200
                Re: Floating point support not loaded James Kuyper <jameskuyper@verizon.net> - 2012-03-26 08:42 -0400

csiph-web