home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15203 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.2 KB  |  42 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!csn!teal.csn.org!bell
  3. From: bell@teal.csn.org (Bell Scott)
  4. Subject: Re: THINK C linker makes me sad
  5. Message-ID: <BuAp2p.2IC@csn.org>
  6. Sender: news@csn.org (news)
  7. Nntp-Posting-Host: teal.csn.org
  8. Organization: Colorado SuperNet, Inc.
  9. References: <fdrny7c.howard@netcom.com>
  10. Distribution: usa
  11. Date: Wed, 9 Sep 1992 05:11:12 GMT
  12. Lines: 28
  13.  
  14. In article <fdrny7c.howard@netcom.com> howard@netcom.com (Howard Berkey) writes:
  15. >So I was writing this really small, simple app. (a mac version of xclock,
  16. >just for fun.)  It was only 3k.  Then I added a call to sprintf().  It 
  17. >exploded the program to 22k.
  18. >
  19. >Please, no flames for this... I LOVE the THINK C environment, and I know
  20. >
  21. >grrr.....
  22. >
  23. >ok I'm better now.
  24. >
  25. >-Howard
  26. >
  27. >-- 
  28. >Howard Berkey                        howard@netcom.com
  29.  
  30.     No flames.
  31.  
  32.     Do you realise that sprintf(3) MUST call in ALL of the floating
  33. point functions to deal with 64, 80, 96 bit precision IEEE?  I believe that
  34. there is a version of the ANSI library that has printf(3) functions that
  35. do not allow floating point calcs.  If not, then hack the code for the ANSI
  36. library to remove them.
  37.  
  38.     Try doing a program in AT&T 'C'!
  39. ;)
  40.  
  41. Scott R. Bell
  42.