From: SourceForge.net <no...@so...> - 2007-01-10 17:46:55
|
Bugs item #1631930, was opened at 2007-01-09 20:42 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1631930&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(t^(-1.2),t); Initial Comment: integrate(t^(-1.2),t); gives 5.000000000000001 - ----------------- 0.2 t must be 5 - ----------------- 0.2 t ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2007-01-10 12:46 Message: Logged In: YES user_id=28849 Originator: NO Good point. I would consider this a bug in the definite integration routines. At the very least, it should warn about converting a float to a rational. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-01-10 01:31 Message: Logged In: NO But integrate(t^(-1.2),t,t1,t2); ("positive" for all questions) gives true 5 5 ----- - ----- 1/5 1/5 t1 t2 This is a bug or feature? ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2007-01-09 21:09 Message: Logged In: YES user_id=28849 Originator: NO No. Compare with 1/(-1.2+1) -> 5.000000000000001 If you wanted the exact number -6/5, you should have said so instead of using the floating point number 1.2. Setting status to pending. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1631930&group_id=4933 |