Thank you David and Jason. On Jul 12, 2:25 pm, David Harvey <[EMAIL PROTECTED]> wrote: > If you build from source, you can apply the attached patch file to get future > division *everywhere* in the notebook. Will the patch work if one simply applies it to the file SAGEROOT/ devel/sage-main/build/sage/server/notebook? I'm just using the version I downloaded from sagemath.org, which did not need to be compiled in any way.
Glad to know people are aware of this. Anyone know if there's an official feature request on Trac? If not I'll try to get an account and add it... Best wishes, Mats On Jul 12, 3:01 pm, David Harvey <[EMAIL PROTECTED]> wrote: > On Jul 12, 2008, at 2:48 PM, Jason Grout wrote: > > > > > > > David Harvey wrote: > >> On Jul 12, 2008, at 1:22 PM,Matswrote: > > >>> Clarification: I would like fast ints&reals, with 2/3=0.6666, and > >>> not > >>> 2/3=0, but I cannot figure out how to do this in notebook mode. > > >> HiMats, > > >> If you build from source, you can apply the attached patch file to > >> get future division *everywhere* in the notebook. > > >> This is an ugly hack though, and won't go into Sage as is. > > >> For a permanent solution, one possibility is to add a "% > >> futuredivision" command that you could enter at the top of the cell. > >> The problem is, under the current framework, this would only affect > >> that cell, which is probably not what you want. > > > I think that if you did an import, something like in your patch, it > > would affect all calculations after that. So if you implemented a > > %futuredivision percenterator (David's term, not mine :), then it > > would > > break the convention that %thingy only affects the current cell. > > I suppose one could add a flag to the notebook() function, which > affects everything served by that server. But that function already > has so many parameters. I'm not a notebook expert, so I don't want to > wade into this.... > > david --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
