Tony Mechelynck wrote:
On 09/04/08 17:30, Bram Moolenaar wrote:
Tony Mechelynck wrote:
[...]
Oh, oh.. it had started working (and1.0e256 multiplied by itself gives
inf, which is correct), but :echo1.0e308 crashes gvim (on Linux
i686) with SIGSEGV.
Easy to reproduce. Turns out that this
Bill McCarthy wrote:
I want +float - how do I make that happen?
One simple method is to add the following line to src/feature.h
#define FEAT_FLOAT
You could probably do that anywhere, but just after the section with #if
relating to FEAT_FLOAT is probably a good place.
I would welcome a less
Anoop Thomas Mathew wrote:
What's your opinion about a project in VIMas an on the fly code checker.
I really think you should consider composing a new email thread instead
of piggy backing on another email thread; especially one that has
nothing to do with your topic and already is full of
Bram Moolenaar wrote:
I have been preparing a talk for the upcoming FISL conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing it.
The main problem with
Mikolaj Machowski wrote:
Dnia Wednesday 09 of April 2008, Tony Mechelynck napisa³:
runtime/doc/eval.txt, line 40 is unchanged, there is:
There are five types of variables:
There should be:
There are six types of variables:
One more addition to eval.txt, line 5218 (:help
On 09/04/08 17:30, Bram Moolenaar wrote:
Tony Mechelynck wrote:
[...]
Oh, oh.. it had started working (and1.0e256 multiplied by itself gives
inf, which is correct), but :echo1.0e308 crashes gvim (on Linux
i686) with SIGSEGV.
Easy to reproduce. Turns out that this line causes it:
On Thu 10-Apr-08 4:09am -0600, François Ingelrest wrote:
On Thu, Apr 10, 2008 at 10:29 AM, Bill McCarthy [EMAIL PROTECTED] wrote:
Thanks John, I was hoping that I didn't need to modify
source code to accomplish it. Isn't there a way to add
something to the make line?
You could just
On 10/04/08 10:29, Bill McCarthy wrote:
On Thu 10-Apr-08 3:14am -0600, John Beckett wrote:
Bill McCarthy wrote:
I want +float - how do I make that happen?
One simple method is to add the following line to src/feature.h
#define FEAT_FLOAT
You could probably do that anywhere, but just
Bill McCarthy wrote:
I think the correct way to pass the requested feature
without editing feature.h is:
make DEFS=-DFEAT_FLOAT
Thanks John but that didn't work here...
If you're using Make_mvc.mak, the command is:
nmake -f Make_mvc.mak DEFINES=-DFEAT_FLOAT
Looking at the make file, it
How many people actually do that? Should they be doing that?
IMHO I'd force people to use whitespace for concatenation in
this case (i.e. 123 . 456) and have 123.456 be a floating
point number. That's how Perl works, for example. --Antony
That would break compatibility on much, much, much
Le Tue, 08 Apr 2008 22:45:18 +0200, Bram Moolenaar a écrit dans le
message [EMAIL PROTECTED] :
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing it.
Thanks Bram.
Using Windows98, gVim 7.1.291 and Borland C++ 5.5.1 I
Patrick Texier wrote:
Le Tue, 08 Apr 2008 22:45:18 +0200, Bram Moolenaar a écrit dans le
message [EMAIL PROTECTED] :
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing it.
Thanks Bram.
Using Windows98, gVim
Bram Moolenaar wrote:
Now the patch is attached, hopefully that works better.
The file diff.dat that you just attached, and your earlier inline mail are
the same. In both cases, there is a problem: the last 12 lines should be
omitted (you can see they are a slightly broken duplicate of the
On 09/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote:
Antony Scriven wrote:
On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote:
I have been preparing a talk for the upcoming FISL
conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the
Hi,
Bram Moolenaar wrote:
Antony Scriven wrote:
On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote:
I have been preparing a talk for the upcoming FISL
conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no
On 09/04/08 12:34, John Beckett wrote:
Bram Moolenaar wrote:
Now the patch is attached, hopefully that works better.
The file diff.dat that you just attached, and your earlier inline mail are
the same. In both cases, there is a problem: the last 12 lines should be
omitted (you can see they
On 09/04/08 11:30, Bram Moolenaar wrote:
[...]
Now the patch is attached, hopefully that works better.
Patch went OK this time -- except for the helpfile, but that was
expected: patches for runtime files are always flaky, and it won't
change anything to the binary.
Added a
On Wed, Apr 9, 2008 at 7:01 AM, Jürgen Krämer [EMAIL PROTECTED] wrote:
Bram Moolenaar wrote:
Antony Scriven wrote:
On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote:
The main problem with floating point is that the usual
notation already has a meaning:
On 09/04/08 14:51, Ajit Thakkar wrote:
On Wed, Apr 9, 2008 at 7:01 AM, Jürgen Krämer[EMAIL PROTECTED] wrote:
Bram Moolenaar wrote:
Antony Scriven wrote:
On 08/04/2008, Bram Moolenaar[EMAIL PROTECTED] wrote:
The main problem with floating point is that the usual
2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]:
Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał:
I have been preparing a talk for the upcoming FISL conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no floating point
Hi,
2008/4/9 Nikolai Weibull [EMAIL PROTECTED]:
2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]:
Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał:
I have been preparing a talk for the upcoming FISL conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the
Yegappan Lakshmanan wrote:
2008/4/9 Nikolai Weibull [EMAIL PROTECTED]:
2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]:
Dnia Tuesday 08 of April 2008, Bram Moolenaar napisa³:
I have been preparing a talk for the upcoming FISL conference in
Brazil:
Dnia Wednesday 09 of April 2008, Nikolai Weibull napisał:
2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]:
Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał:
I have been preparing a talk for the upcoming FISL conference in
Brazil: http://fisl.softwarelivre.org/9.0/www/
One of the
Dnia Wednesday 09 of April 2008, Bram Moolenaar napisał:
Now the patch is attached, hopefully that works better.
Thanks, this one is working.
One bug:
:echo 1.90+90
280,00
:echo 1.90-90
100,00
OK, but
:echo 1.90*90
E806: using Float as a String
E15: Illegal expression: 1.90*90
On 09/04/2008 17:27, Mike Williams wrote:
On 09/04/2008 17:16, Bram Moolenaar wrote:
Francois Ingelrest wrote:
On Wed, Apr 9, 2008 at 5:30 PM, Bram Moolenaar [EMAIL PROTECTED] wrote:
Easy to reproduce. Turns out that this line causes it:
sprintf(tmp, format, f);
Here
Dnia Wednesday 09 of April 2008, Tony Mechelynck napisał:
runtime/doc/eval.txt, line 40 is unchanged, there is:
There are five types of variables:
There should be:
There are six types of variables:
One more addition to eval.txt, line 5218 (:help type()):
:if type(myvar) ==
Tony Mechelynck wrote:
12 extra lines at the end shouldn't be a problem, since the
patch program will ignore garbage before and after the patch proper.
I was just trying to let Bram know that it would look better if he fixed the
patch (by deleting the last 12 lines), if he were planning to
What's your opinion about a project in VIMas an on the fly code checker.
Steps
-
i.That is VIM text to a temporary file.
ii.Compile it with a compiler.(Either use an external compiler ( preferred
by Mr. Moolenaar) or to write an independent parser plug-in within VIM)
iii.Then re-parse the
On Tue, Apr 08, 2008 at 10:45:18PM +0200, Bram Moolenaar wrote:
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing it.
The main problem with floating point is that the usual notation already
has a meaning:
On Tue, Apr 08, 2008 at 01:56:24PM -0700, Gautam Iyer wrote:
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing it.
The main problem with floating point is that the usual notation already
has a meaning:
echo
Bram Moolenaar wrote:
I have been preparing a talk for the upcoming FISL conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing it.
You just did that, so
Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał:
I have been preparing a talk for the upcoming FISL conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no floating point
support. Well, this turned into actually implementing
Dnia Wednesday 09 of April 2008, Mikolaj Machowski napisał:
Feel free to suggest something better, but make sure it doesn't
already mean something in any context in Vim script.
Have fun with the patch!
I thought immediately about 123;456 , looks like it doesn't create
conflicts but is
Dnia Wednesday 09 of April 2008, Tony Mechelynck napisał:
On 08/04/08 23:57, Mikolaj Machowski wrote:
[...]
Couldn't apply:
[EMAIL PROTECTED] ~/vim7 $ patch -p0 --dry-run float.diff
patch: malformed patch at line 5:*E712*
GNU patch 2.5.9
Any ideas?
On 09/04/08 00:34, Mikolaj Machowski wrote:
Dnia Wednesday 09 of April 2008, Tony Mechelynck napisał:
On 08/04/08 23:57, Mikolaj Machowski wrote:
[...]
Couldn't apply:
[EMAIL PROTECTED] ~/vim7 $ patch -p0 --dry-run float.diff
patch: malformed patch at line 5:
On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote:
I have been preparing a talk for the upcoming FISL
conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no
floating point support. Well, this turned into actually
On 09/04/08 00:43, Antony Scriven wrote:
On 08/04/2008, Bram Moolenaar[EMAIL PROTECTED] wrote:
I have been preparing a talk for the upcoming FISL
conference in Brazil:
http://fisl.softwarelivre.org/9.0/www/
One of the items I planned to discuss is why Vim has no
...
The main problem with floating point is that the usual notation already
has a meaning:
echo 123.456
123456
That is because . is the concatenation operator, and numbers are
automatically converted to strings.
I considered a few alternatives:
123,456
On Tue, Apr 08, 2008 at 09:47:50PM -0400, David Fishburn wrote:
The main problem with floating point is that the usual notation already
has a meaning:
echo 123.456
123456
That is because . is the concatenation operator, and numbers are
automatically converted to
39 matches
Mail list logo