Post Reply 
CAS: log of large integers?
05-23-2015, 09:21 AM
Post: #11
RE: CAS: log of large integers?
(05-22-2015 07:01 PM)parisse Wrote:  It's in usual.cc, line 497
Code:

  ...
    gen a,b;
    if (abs_calc_mode(contextptr)==38 && has_evalf(e,a,1,contextptr))
      return log10(a,contextptr);
    if (is_algebraic_program(e,a,b))
      return symbolic(at_program,gen(makevecteur(a,0,log10(b,contextptr)),_SEQ__VECT));
  ...
calc_mode returns 38 inside the hp39gii and -38 inside a Prime (and 1 inside geogebra). You can check inside Xcas, by running calc_mode(38) or calc_mode(-38) instead of calc_mode(0). calc_mode is not available on the Prime.

I don't understand this above,
calc_mode does something return - but calc_mode is not available ?

And how does this help Joe's question ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CAS: log of large integers? - Joe Horn - 05-21-2015, 06:37 AM
RE: CAS: log of large integers? - parisse - 05-21-2015, 11:28 AM
RE: CAS: log of large integers? - Gerald H - 05-22-2015, 04:57 PM
RE: CAS: log of large integers? - Gerald H - 05-22-2015, 05:57 PM
RE: CAS: log of large integers? - parisse - 05-22-2015, 07:01 PM
RE: CAS: log of large integers? - Thomas_Sch - 05-23-2015 09:21 AM
RE: CAS: log of large integers? - Gerald H - 05-23-2015, 01:47 PM
RE: CAS: log of large integers? - DrD - 05-23-2015, 06:23 PM
RE: CAS: log of large integers? - Joe Horn - 05-24-2015, 02:01 AM
RE: CAS: log of large integers? - DrD - 05-24-2015, 10:05 AM
RE: CAS: log of large integers? - Joe Horn - 05-24-2015, 03:07 PM
RE: CAS: log of large integers? - Joe Horn - 05-24-2015, 07:00 PM
RE: CAS: log of large integers? - parisse - 05-25-2015, 05:38 AM
RE: CAS: log of large integers? - Joe Horn - 05-25-2015, 07:20 AM



User(s) browsing this thread: 4 Guest(s)