Timeline for Is there a difference between Divide[a,b] and a/b?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2021 at 1:29 | answer | added | Michael E2 | timeline score: 6 | |
Apr 13, 2017 at 12:55 | history | edited | CommunityBot |
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
|
|
Mar 29, 2017 at 9:44 | history | edited | Alexey Popkov |
edited tags
|
|
Dec 23, 2013 at 20:34 | comment | added | Mark Adler |
Or, you could defer the split of Divide[] until a symbolic operation comes into play.
|
|
Dec 23, 2013 at 1:14 | comment | added | Mark Adler | The classic "too hard to fix" response to a bug. C'mon, you guys are smart. Suppose you retained information about the split of the original divide operation so that the multiplication and reciprocal could be recombined into a division when the time came to actually do the operation? | |
Dec 22, 2013 at 23:03 | comment | added | Daniel Lichtblau |
I made inquiries about the feasibility of changing the evaluation parsing/semantics of '/' to be like Divide. I was informed that this was considered some time ago, and rejected, because it would be backwardly incompatible for situations where HoldXXX are in play. I guess more generally it would create trouble if '/' was not an infix surrogate for '*' (with inversion of the right hand argument). Reason being, a chain like a*b/c*d*e/f*g would no longer parse to something with head of Times and seven arguments.
|
|
Dec 21, 2013 at 21:19 | comment | added | Mark Adler | And yes, I will also submit a bug report in the official manner. | |
Dec 21, 2013 at 21:16 | comment | added | Mark Adler |
Ah, someone's here from Wolfram. That's good. I would assert that this behavior of / in a numerical expression is a bug. / should always give the most accurate result on machine numbers, but it currently does not. As it stands, I now have to use Divide wherever / used to be in order to get the correct result. That is a giant pain, since I suddenly lose 800 years of development of a convenient mathematical notation.
|
|
Dec 21, 2013 at 20:47 | comment | added | Daniel Lichtblau | The answer is still the same as it was here. The prior post in that thread has examples that show different behavior. | |
Dec 21, 2013 at 4:44 | history | tweeted | twitter.com/#!/StackMma/status/414255100602093568 | ||
Dec 21, 2013 at 3:03 | vote | accept | Mark Adler | ||
Dec 21, 2013 at 2:57 | history | edited | Szabolcs | CC BY-SA 3.0 |
edited title
|
Dec 21, 2013 at 2:46 | answer | added | Szabolcs | timeline score: 41 | |
Dec 21, 2013 at 1:42 | history | asked | Mark Adler | CC BY-SA 3.0 |