On 5/16/12 8:38 PM, D. S. McNeil wrote:
I can reproduce this on my 10.6.8 macbook:
sage: int(2)
2
sage: int(2.75)
Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x0000000101723ed9 in case1 ()
(gdb) bt
#0 0x0000000101723ed9 in case1 ()
#1 0x0000000103e8bba4 in parsed_string_to_mpfr ()
#2 0x0000000103e8c7fb in mpfr_strtofr ()
Previous frame inner to this frame (gdb could not unwind past this frame)
Since this is the computer I actually use, I keep things in /usr/local
and /opt/local (including copies of gmp), so I tried moving those in
case it was picking up something it shouldn't, but no luck.
For what it's worth, this works fine on my compiled-from-scratch sage
5.0, macbook pro, 10.6.8:
sage: int(2)
2
sage: int(2.75)
2
Doug, are you using the binary or did you compile your Sage?
Thanks,
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org