RE: RE: simple bug about Sum/Product function?
- To: mathgroup at smc.vnet.net
- Subject: [mg46756] RE: [mg46729] RE: [mg46709] simple bug about Sum/Product function?
- From: "MATSUDA Yuko" <matsuda at gsic.titech.ac.jp>
- Date: Sun, 7 Mar 2004 01:33:35 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello all, I would like to follow up my previous mail because anyone seems not to have an interest in this kind of Mathematica bug. The output of following expressions are self-explanatory: Sum[1,{i,10}] > 10 Sum[1,{1000000}] > 1000000 OK. Sum[1,{1000001}] > Sum[1,{1000001}] What? Sum[1,{i,1000001}] > 1000001 Yes, it's good. But, .... Sum[Print@1; Random[],{i,3}] > 1 1 1 1.52163 Sum[Print@1; Random[],{i,1000001}] > 1 Only one line printed!!! Something wrong. 236974. Product[1,{i,10}] > 1 Product[1,{i,1000000}] > 1 Product[1,{i,1000001}] > StandardForm[Product[1,{i,1000001}]] ???? These outputs are produced in Mathemtatica ver5.0 and ver5.01. Thank you for your help. YUKO