#18096: Libsingular conversion of (signed?) int to sage might have a
muisunderstanding about bitlength
-------------------------------------+-------------------------------------
Reporter: nbruin | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.6
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: Nils Bruin | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/nbruin/libsingular_conversion_of__signed___int_to_sage_might_have_a_muisunderstanding_about_bitlength|
5f26856cac7256b06d142c91b3c6c22d50ed0c82
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Nils Bruin', 'oldvalue': ''}):
* status: new => needs_review
* commit: => 5f26856cac7256b06d142c91b3c6c22d50ed0c82
* author: => Nils Bruin
Comment:
interpreting the value as an int rather than a long seems to work. Input
welcome from someone with more singular knowledge.
(note that the `<int><long>` cast is necessary because a cast to `<int>`
directly from `<void *>` causes a "loss of information" error).
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=5f26856cac7256b06d142c91b3c6c22d50ed0c82
5f26856]||{{{18096: Interpret a libsingular leftv.data field as "int" when
rtyp is INT_CMD}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/18096#comment:2>
Sage <http://www.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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.