#6505: [with patch, needs review] Sage banner: include warning if a prerelease
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: enhancement | Status: new
Priority: trivial | Milestone: sage-4.1.1
Component: misc | Keywords:
Reviewer: | Author: John Palmieri
Merged: |
-------------------------+--------------------------------------------------
Comment(by jhpalmieri):
Replying to [comment:5 ddrake]:
> Replying to [comment:4 mhampton]:
> >
> > The change of tiny to some sort of float value seems kind of odd,
could this be avoided somehow?
> >
> > 119 {'major': 3, 'minor': 2, 'tiny': 1.2, 'prerelease':
False}.
> > 125 {'major': 3, 'minor': 2, 'tiny': 1.200...,
'prerelease': False}.
>
> I agree that's a bit weird, but when we do really 'use' the value of
{{{tiny}}}? If we just print it, it should be fine; even when there's some
actual comparisons being done, I think there won't be any trouble with the
floating point numbers. I'll think about this some more, but it seems okay
to me.
Right: I think in recent history, {{{tiny}}} has been an integer, and in
this case it prints like an integer. Allowing it to have digits beyond
the decimal point is "just in case". If it is a float, we can print it
when needed with as many decimal places as we want.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6505#comment:9>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---