Ask Your Question
1

float numbers error?

asked 14 years ago

iosonofabio gravatar image

updated 6 years ago

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)

Preview: (hide)

Comments

Could you cut and paste the exact error message?

DSM gravatar imageDSM ( 14 years ago )

2 Answers

Sort by » oldest newest most voted
1

answered 14 years ago

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.

Preview: (hide)
link
0

answered 12 years ago

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

Preview: (hide)
link

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 ( 12 years ago )

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 ( 12 years ago )

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: 14 years ago

Seen: 589 times

Last updated: May 24 '12