Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

0.0 is different with 0?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90016] 0.0 is different with 0?
  • From: damayi <damayi at gmail.com>
  • Date: Thu, 26 Jun 2008 04:44:37 -0400 (EDT)

Dear all
Here is an example to show my question.
SF[N_Integer, a_Real, fs_Real] :=
 Table[Sin[(1 + fs)*k*2 Pi/N + a], {k, 0, N - 1}]

SF[32, 0.1, 0.0] can show the table contents, however, SF[32, 0.1, 0]
cannot show the result. Why?

Best Regards
mayi
2008-06-26


  • Prev by Date: Re: font size too small
  • Next by Date: Re: How can I evaluate this statement?
  • Previous by thread: Re: Vary PlotStyle in ListPlot ?
  • Next by thread: Re: 0.0 is different with 0?