Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

appending '.' in CForm

  • To: mathgroup at
  • Subject: [mg55419] appending '.' in CForm
  • From: Matt Flax <flatmax at Matt.Flax>
  • Date: Wed, 23 Mar 2005 05:34:32 -0500 (EST)
  • Reply-to: Matt Flax <flatmax at>
  • Sender: owner-wri-mathgroup at


I have an equation which symbolicly evals. to a 1 MB file when streamed 
to file using CForm ... it is a very very long equation !

I am unsatisfied with the results of CForm, because it writes longs, 
rather then writing doubles out ... for example :
instead of :

The issue is that the integer aproaches the limit of max. int. which is 
listed in values.h (GNU compiler).

So ... how would I force CForm to print out integers as doubles ?


MFFM Bit Stream :
Other Projects :

  • Prev by Date: Re: TrigExpand - Odd behavior
  • Next by Date: Re: Lines in Mathematica Graphics
  • Previous by thread: Re: categorys in the Help Browser
  • Next by thread: Re: appending '.' in CForm