Ask Your Question
1

float numbers error?

asked 2011-01-28 07:28:26 +0200

iosonofabio gravatar image

updated 2018-10-08 00:46:02 +0200

tmonteil gravatar image

Whenever I input a float number directly, e.g.

sage: 0.6

sage exits with an error message about sage-ipython instruction not allowed. Anyone has an idea about this?

OS: Linux, ArchLinux Sage Version: 4.6.1 (arch sage-mathematics binary)

edit retag flag offensive close merge delete

Comments

Could you cut and paste the exact error message?

DSM gravatar imageDSM ( 2011-01-28 07:32:34 +0200 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-05-24 14:45:03 +0200

Same Problem:

While running sage with gdb:

sage: a = 2.0 sage: b = 2.5

Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand. 0x00000001016e3ed9 in case1 ()

Version: sage-5.0-OSX-64bit-10.6-x86_64-Darwin OS: Mac OS X Lion 10.7.4 (11E53) Processor : 2 x 3 GHz Quad-Core Intel Xeon

edit flag offensive delete link more

Comments

The answer Mike gave may be your answer. This is the first time we've seen this on a Quad-Core (before it was only Core 2 Duo).

kcrisman gravatar imagekcrisman ( 2012-05-24 23:29:53 +0200 )edit

Can you post the exact CPU? Intel sold a lot of chips under the Xeon label. Is this a Core 2 Quad in disguise? As far as the supported instruction set goes, there is not much difference between a Core 2 Duo and Core 2 Quad. Please post the output of "sysctl -n machdep.cpu.brand_string"

Volker Braun gravatar imageVolker Braun ( 2012-05-25 01:25:59 +0200 )edit
1

answered 2011-01-28 12:53:51 +0200

Mike Hansen gravatar image

My guess is that you downloaded a binary which was built for a new processor than the one that you have. If you download the Sage source code and build from scratch, everything should work fine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-01-28 07:28:26 +0200

Seen: 489 times

Last updated: May 24 '12