arg() crashes the emulator
|
02-25-2015, 04:02 PM
Post: #18
|
|||
|
|||
RE: arg() crashes the emulator
(02-25-2015 03:02 PM)Angus Wrote: Han, you play a LOT with your prime don't you? I did most of my tinkering during my summer/winter breaks. After a while, all these idiosyncrasies are a bit less of a surprise. Quote:Do you have an idea why instring() returns with 3. and not with 3 in your example? The issue you are having with instring() is that it's returning a "non-exact" value 3. as opposed to the "exact" value 3 (it's an issue of floating point vs integer). Anyway, mid() requires integer inputs, so you are getting erroneous output. To put it simply, using CAS commands in Home, and non-CAS commands in CAS will always require some care. As for why you are getting 3. vs 3 it is likely due to your CAS settings (Change apparent integers to exact integers; next to the "Integer" type field) Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)