[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Input won't accept floats
From: |
John W. Eaton |
Subject: |
Input won't accept floats |
Date: |
Thu, 18 May 2006 11:52:23 -0400 |
On 18-May-2006, Francisco Jesús Martínez Serrano wrote:
| After running an external function I created, which starts a libglade
| (gtk) application in a separate thread, the following happens to my
| input:
|
| octave:1> irhys_stub;irhys_start
| OpenGL extension version - 1.3
| [...application messages...]
| octave:2> 3.5
| ans = 3
| octave:3> 35/10
| ans = 3.5000
| octave:4> 1.5
| ans = 1
| octave:5> 1.99
| ans = 1
|
| So I have to input fractions instead of decimal point numbers. Not a
| huge hassle but still annoying.
|
| Does anybody know why is it happening? In which way can an external C
| function interfere with octave that provokes that?
|
| My octave version is 1:2.1.72-8 on Debian.
How can we possibly help given the above information? Your code could
be doing anything, but you haven't shown it to us, so the best we can
do is guess. My guess is your code does something to alter the output
format state for Octave, but again, that's just a guess.
jwe