Fwd: [sage-trac] #28042: broken arithmetic over GF(p)

23 views
Skip to first unread message

Dima Pasechnik

unread,
Jun 21, 2019, 11:39:11 AM6/21/19
to sage-nt
---------- Forwarded message ---------
From: sage-trac <tr...@sagemath.org>
Date: Fri, Jun 21, 2019 at 4:37 PM
Subject: [sage-trac] #28042: broken arithmetic over GF(p)
To:


#28042: broken arithmetic over GF(p)
----------------------------+----------------------------
Reporter: dimpase | Type: defect
Status: new | Priority: blocker
Milestone: sage-8.9 | Component: finite rings
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+----------------------------
{{{
sage: p=193379
sage: K=GF(p)
sage: a=K(1)
sage: b=K(191495)
sage: c=K(109320)
sage: d=K(167667)
sage: e=103937
sage: a*c+b*d-e
102041
sage: vector([a,b])*vector([c,d])-e
-91339
sage: -91339+e
12598
sage: vector([a,b])*vector([c,d])
12599
}}}

--
Ticket URL: <https://trac.sagemath.org/ticket/28042>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple,
Mathematica, and MATLAB
Reply all
Reply to author
Forward
0 new messages