ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 24 May 2012 18:25:59 -0500float numbers error?https://ask.sagemath.org/question/7907/float-numbers-error/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)Fri, 28 Jan 2011 00:28:26 -0600https://ask.sagemath.org/question/7907/float-numbers-error/Comment by DSM for <p>Whenever I input a float number directly, e.g.</p>
<p>sage: 0.6</p>
<p>sage exits with an error message about sage-ipython instruction not allowed. Anyone has an idea about this?</p>
<p>OS: Linux, ArchLinux
Sage Version: 4.6.1 (arch sage-mathematics binary)</p>
https://ask.sagemath.org/question/7907/float-numbers-error/?comment=22230#post-id-22230Could you cut and paste the exact error message?Fri, 28 Jan 2011 00:32:34 -0600https://ask.sagemath.org/question/7907/float-numbers-error/?comment=22230#post-id-22230Answer by NakedSingularity for <p>Whenever I input a float number directly, e.g.</p>
<p>sage: 0.6</p>
<p>sage exits with an error message about sage-ipython instruction not allowed. Anyone has an idea about this?</p>
<p>OS: Linux, ArchLinux
Sage Version: 4.6.1 (arch sage-mathematics binary)</p>
https://ask.sagemath.org/question/7907/float-numbers-error/?answer=13609#post-id-13609Same 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
Thu, 24 May 2012 07:45:03 -0500https://ask.sagemath.org/question/7907/float-numbers-error/?answer=13609#post-id-13609Comment by Volker Braun for <p>Same Problem:</p>
<p>While running sage with gdb:</p>
<p>sage: a = 2.0
sage: b = 2.5</p>
<p>Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x00000001016e3ed9 in case1 ()</p>
<p>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</p>
https://ask.sagemath.org/question/7907/float-numbers-error/?comment=19740#post-id-19740Can 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"Thu, 24 May 2012 18:25:59 -0500https://ask.sagemath.org/question/7907/float-numbers-error/?comment=19740#post-id-19740Comment by kcrisman for <p>Same Problem:</p>
<p>While running sage with gdb:</p>
<p>sage: a = 2.0
sage: b = 2.5</p>
<p>Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x00000001016e3ed9 in case1 ()</p>
<p>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</p>
https://ask.sagemath.org/question/7907/float-numbers-error/?comment=19741#post-id-19741The 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).Thu, 24 May 2012 16:29:53 -0500https://ask.sagemath.org/question/7907/float-numbers-error/?comment=19741#post-id-19741Answer by Mike Hansen for <p>Whenever I input a float number directly, e.g.</p>
<p>sage: 0.6</p>
<p>sage exits with an error message about sage-ipython instruction not allowed. Anyone has an idea about this?</p>
<p>OS: Linux, ArchLinux
Sage Version: 4.6.1 (arch sage-mathematics binary)</p>
https://ask.sagemath.org/question/7907/float-numbers-error/?answer=12031#post-id-12031My 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.Fri, 28 Jan 2011 05:53:51 -0600https://ask.sagemath.org/question/7907/float-numbers-error/?answer=12031#post-id-12031