Abridged summary of comp.lang.tcl@googlegroups.com - 27 updates in 7 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 27 updates in 7 topics

comp.lang.tcl mailing list
Alexandru <[hidden email]>: May 16 02:26AM -0700

I can't compare a value which is -NaN to -NaN
 
so if
 
set x -NaN
expr ($x eq -NaN)
 
I get
 
can't use non-numeric floating-point value as operand of "-"
 
How can I find out, if x is -NaN? ...more
Arjen Markus <[hidden email]>: May 16 02:36AM -0700

On Wednesday, May 16, 2018 at 11:26:46 AM UTC+2, Alexandru wrote:
 
> can't use non-numeric floating-point value as operand of "-"
 
> How can I find out, if x is -NaN?
 
> Wright now I'm using ...more
Alexandru <[hidden email]>: May 16 02:39AM -0700

I will ttry to provide an example in a few hours. The variable is the result of some mathematic operations.
...more
Rich <[hidden email]>: May 16 11:01AM

> I can't compare a value which is -NaN to -NaN
 
Consider the meaning of NaN.
 
Not a Number
 
If something is "Not a Number" how should a /numeric/ comparison work
(remember, the input is "Not a ...more
Alexandru <[hidden email]>: May 16 04:40AM -0700

Am Mittwoch, 16. Mai 2018 13:01:27 UTC+2 schrieb Rich:
 
> If you need to detect that NaN has occurred in a computation, you might
> have better success with string comparison against the string ...more
Alexandru <[hidden email]>: May 16 05:07AM -0700

Am Mittwoch, 16. Mai 2018 11:39:07 UTC+2 schrieb Alexandru:
> I will ttry to provide an example in a few hours. The variable is the result of some mathematic operations.
 
Now I can show where ...more
Rich <[hidden email]>: May 16 12:28PM


>> expr {$variable eq "NaN"}
 
> Rich, this what I'm doing already, see my example in the original
> post.
 
Actually, your origional contains a syntax error.
 
You have: expr ($x eq -NaN)
...more
Alexandru <[hidden email]>: May 16 05:38AM -0700

Am Mittwoch, 16. Mai 2018 14:28:30 UTC+2 schrieb Rich:
 
> Correct, but even if you find that source, you'll still be left with
> "compare" to NaN. For which you likely need string compare, for ...more
Arjen Markus <[hidden email]>: May 16 06:14AM -0700

On Wednesday, May 16, 2018 at 2:38:31 PM UTC+2, Alexandru wrote:
> expr {$x eq {-NaN}}
 
> Still intresting is that I get -NaN as a result to the division 0/0 in C.
 
> Many thanks for the help.
...more
Zoltan Kocsi <[hidden email]>: May 17 12:36AM +1000

On Wed, 16 May 2018 05:38:29 -0700 (PDT)
 
> [...]
> Still intresting is that I get -NaN as a result to the division 0/0
> in C.
 
Most computers use the IEEE-754 float format.
...more
Alexandru <[hidden email]>: May 16 07:47AM -0700

Am Mittwoch, 16. Mai 2018 16:37:41 UTC+2 schrieb Zoltan Kocsi:
> --
> Zoltán Kócsi
> Bendor Research Pty. Ltd.
 
Wow! Impressive answer! Thanks. Very helpfull.
Regards
Alexandru
...more
"Едуард Зозуля" <[hidden email]>: May 16 03:01AM -0700

I created user defined headers and using standart headers too.
 
Now headers visual on screen as
 
NOW:
-------------------------
Standart headers
-------------------------
My (user defined) ...more
Ashok <[hidden email]>: May 16 07:58PM +0530

I think you have two options
 
- just change your code to show the user defined headers on the built-in
first header and show the "standard" header on a optional created header, or
...more
Koen Danckaert <[hidden email]>: May 16 11:10AM +0200

On 15/05/2018 11:34, Zoltan Kocsi wrote:
 
> Tcl/Tk 8.6 on Linux:
 
> - If the combobox content is chosen from the list, it will also be
> selected (i.e. have a highlighted background). Why?
...more
Zoltan Kocsi <[hidden email]>: May 16 11:06PM +1000

Brad,
 
Thanks a lot! Very helpful write-ups!
 
Zoltan
--
Zoltán Kócsi
Bendor Research Pty. Ltd.
...more
Zoltan Kocsi <[hidden email]>: May 16 11:11PM +1000

On Wed, 16 May 2018 11:10:01 +0200
 
> I think this is more or less standard behaviour for comboboxes. Note
> that you can use -exportselection 0 to avoid setting the global
> selection.
...more
Busirane <[hidden email]>: May 16 06:08AM -0700

Hello.
 
I have a question about the option database... but who doesn't? ;)
 
Actually, the thing I tend to forget is that patterns begin with appname, not the root window, but DKF's tutorial ...more
Mike Griffiths <[hidden email]>: May 15 01:49PM -0700

On Tuesday, 15 May 2018 07:18:27 UTC+1, Harald Oehlmann wrote:
 
> http://wiki.tcl.tk/515
 
> Maybe helpful,
> Harald
 
Hi Harald,
 
Many thanks for your reply, I'll take a look at that. ...more
Rich <[hidden email]>: May 15 09:13PM

> problem, something that will work across the board (ideally utilising
> the built-in encoding support Tcl already has, rather than having to
> hardcode my own checks for each) would be very ...more
Harald Oehlmann <[hidden email]>: May 15 11:12PM +0200

Am 15.05.2018 um 22:49 schrieb Mike Griffiths:
 
> Many thanks for your reply, I'll take a look at that. My title is slightly misleading, though - although utf-8 is the one that raised the issue for ...more
Mike Griffiths <[hidden email]>: May 15 05:10PM -0700

On Tuesday, 15 May 2018 22:13:58 UTC+1, Rich wrote:
> DOT ABOVE" from ISO-8859-3 vs. a top right corner line draw character
> from the old IBM code page 437 from the DOS days? That's where it gets ...more
Mike Griffiths <[hidden email]>: May 15 05:16PM -0700

On Tuesday, 15 May 2018 22:14:23 UTC+1, Harald Oehlmann wrote:
 
> I fear I could not be to helpful with the implementation but anyway...
 
> What do you think ?
 
> Harald
 
Harald,
...more
Rich <[hidden email]>: May 16 12:47AM

> errors but does cause it to butcher output if you've only received
> half the bytes for a character from the stream when you try and
> convert. (I hope that makes sense and isn't too rambling.) ...more
Harald Oehlmann <[hidden email]>: May 16 09:07AM +0200

Am 16.05.2018 um 02:16 schrieb Mike Griffiths:
> set buffer [lindex $ret 1]
> }
 
> I'm not sure what would happen in this case with an invalid byte sequence, however (and my knowledge of utf-8, ...more
heinrichmartin <[hidden email]>: May 16 01:32AM -0700

On Wednesday, May 16, 2018 at 9:09:52 AM UTC+2, Harald Oehlmann wrote:
 
> Or we only allow the -errorlist and the fragment is a special case of an
> error.
 
> Any thoughts ?
 
...more
[hidden email]: May 15 09:10PM -0700

Any married women looking for ltr relationship
...more
[hidden email]: May 15 09:09PM -0700

Girls online looking for sex
...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].