Tags are words are used to describe and categorize your content. Combine multiple words with dashes(-), and seperate tags with spaces.
A fact that seems to be not documented. Probably it should be obvious.
Digits := d0 evalf[d](expr);
The toplevel float sub-expressions in expr are computed with Digits=d0 but in procedures Digits is set to d. Notice that the actual float parameters of the toplevel procedures are evalf-ed with Digits=d0.
restart;
g:=proc() convert(1/3., string) end: h:=proc() 1/3. end:
Digits:=3; evalf[10]([ 1/3. = h(), convert(1/3.,string) = g(), fsolve(3*x=1) = add([1/3]), fsolve(x/3=1/9.) # 1/9. being at top level is evalf-ed with Digits=3 ])
k:=proc(x) convert(x,string) end:
kernelopts(floatPi);
4.+Pi;
evalf(k(1/3.+Pi)); # floatPi seems to be ignored inside actual parameters
evalf(k(4+evalf(Pi)));
evalf(k(4+Pi)); # 4 not being float (or "infected" by a float) is not evalf-ed
### (this is documented)
`evalf/h` := proc() 7.777 end:
evalf(h(1/3));
evalf('h'(1/3));
Download digits.mw
(edited)
Please log-in to your MaplePrimes account.
Wrong Email/Password. Please try again.
Error occurred during PDF generation. Please refresh the page and try again
You must be logged into your Facebook account in order to share via Facebook.
Click the button below to share this on Google+. A new window will open.
You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)