Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33194 > unrolled thread
| Started by | Jon Ribbens <jon+usenet@unequivocal.eu> |
|---|---|
| First post | 2017-05-04 14:13 +0000 |
| Last post | 2017-05-11 03:08 +0200 |
| Articles | 10 on this page of 30 — 12 participants |
Back to article view | Back to comp.lang.javascript
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: -2 ** 2 Jon Ribbens <jon+usenet@unequivocal.eu> - 2017-05-04 14:13 +0000
Re: -2 ** 2 Tim Streater <timstreater@greenbee.net> - 2017-05-04 16:56 +0100
Re: -2 ** 2 Mark Lloyd <not@mail.invalid> - 2017-05-04 12:08 -0500
Re: -2 ** 2 John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-04 20:02 +0100
Re: -2 ** 2 Jon Ribbens <jon+usenet@unequivocal.eu> - 2017-05-04 23:44 +0000
Re: -2 ** 2 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-05 09:16 +0200
Re: -2 ** 2 John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-05 09:56 +0100
Re: -2 ** 2 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-05 11:16 +0200
Re: -2 ** 2 John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-06 10:27 +0100
Re: -2 ** 2 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-06 11:42 +0200
Re: -2 ** 2 Robert Heller <heller@deepsoft.com> - 2017-05-04 11:01 -0500
Re: -2 ** 2 Sam E <why.should.this@be.email.invalid> - 2017-05-04 12:04 -0500
Re: -2 ** 2 John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-04 19:29 +0100
Re: -2 ** 2 Tim Streater <timstreater@greenbee.net> - 2017-05-04 19:51 +0100
Re: -2 ** 2 John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-05 09:41 +0100
Re: -2 ** 2 Tim Slattery <tim@risingdove.com> - 2017-05-05 11:02 -0400
Re: -2 ** 2 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-05 17:47 +0200
Re: -2 ** 2 Tim Streater <timstreater@greenbee.net> - 2017-05-05 16:49 +0100
Re: -2 ** 2 Tim Slattery <tim@risingdove.com> - 2017-05-06 11:21 -0400
Re: -2 ** 2 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-06 19:04 +0200
Re: -2 ** 2 Tim Slattery <tim@risingdove.com> - 2017-05-07 12:40 -0400
Re: -2 ** 2 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-07 20:35 +0200
Re: -2 ** 2 RobG <rgqld@iinet.net.au> - 2017-05-10 17:46 -0700
Re: -2 ** 2 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-11 03:00 +0200
Re: -2 ** 2 Mark Lloyd <not@mail.invalid> - 2017-05-05 23:20 -0500
Re: -2 ** 2 Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-05-08 23:19 +0100
Re: -2 ** 2 Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-05-08 23:16 +0100
Re: -2 ** 2 "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-05-09 09:55 -0700
Re: -2 ** 2 Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-05-10 17:39 +0100
Re: -2 ** 2 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-11 03:08 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Tim Slattery <tim@risingdove.com> |
|---|---|
| Date | 2017-05-07 12:40 -0400 |
| Message-ID | <1tiugchlmjigkfie07320k6rl6sfcci04a@4ax.com> |
| In reply to | #33238 |
Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote: >That might have to do with the fact that the United States of America >*originated from British colonies*… Of course >(Good grief. I am not a citizen of the USA and know more about its history >than you. Don't bet on it. No surprise that DeVos managed to become Secretary of Education…) > >> No doubt whoever drafted our 8th (George Mason, I thin?) > >_James Madison_ (later 4th POTUS) He was strongly influence by Mason, who was a delegate to the Constitutional Convention, but refused to sign the document because it had no declaration of rights. Madison's product had much to do with Mason's Virginia Declaration of Rights. -- Tim Slattery tim <at> risingdove <dot> com
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2017-05-07 20:35 +0200 |
| Message-ID | <3981204.LvFx2qVVIh@PointedEars.de> |
| In reply to | #33250 |
Tim Slattery wrote: > Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote: >>> No doubt whoever drafted our 8th (George Mason, I thin?) >>_James Madison_ (later 4th POTUS) > > He was strongly influence by Mason, That is correct, in a sense: > who was a delegate to the Constitutional Convention, but refused to sign > the document because it had no declaration of rights. Madison's product > had much to do with Mason's Virginia Declaration of Rights. Mason drafted the Virginia Declaration of Rights based on the English Bill of Rights, and Madison was influenced by that. However, Madison also knew well the English Bill of Rights, among other historical documents of state, and you asked who drafted the *amendmends*; that was Madison, not Mason. (See also the reference I gave.) -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | RobG <rgqld@iinet.net.au> |
|---|---|
| Date | 2017-05-10 17:46 -0700 |
| Message-ID | <cb16974e-902f-46c7-a770-8a58b790a36f@googlegroups.com> |
| In reply to | #33238 |
On Sunday, May 7, 2017 at 3:04:49 AM UTC+10, Thomas 'PointedEars' Lahn wrote: [...] > > <https://en.wikipedia.org/wiki/United_States#Settlements> pp. > [...] > > <https://en.wikipedia.org/wiki/United_States_Bill_of_Rights#Crafting_amendments> <https://en.wikipedia.org/wiki/Wikipedia:Academic_use> -- Rob
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2017-05-11 03:00 +0200 |
| Message-ID | <2275092.Lt9SDvczpP@PointedEars.de> |
| In reply to | #33268 |
RobG wrote: > On Sunday, May 7, 2017 at 3:04:49 AM UTC+10, Thomas 'PointedEars' Lahn > wrote: > [...] >> <https://en.wikipedia.org/wiki/United_States#Settlements> pp. >> > [...] >> >> <https://en.wikipedia.org/wiki/United_States_Bill_of_Rights#Crafting_amendments> > > <https://en.wikipedia.org/wiki/Wikipedia:Academic_use> (Are you debating that the United States started out as British colonies [which was my point]? *Really*?) *Read* that. Read the references in what I referred to, and read <https://en.wikipedia.org/wiki/Reliability_of_Wikipedia> (and note the references therein) and <https://en.wikipedia.org/wiki/Wikipedia:Verifiability> F'up2 poster -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Mark Lloyd <not@mail.invalid> |
|---|---|
| Date | 2017-05-05 23:20 -0500 |
| Message-ID | <BacPA.1041$3S4.476@fx17.iad> |
| In reply to | #33216 |
On 05/05/2017 10:02 AM, Tim Slattery wrote: > Tim Streater <timstreater@greenbee.net> wrote: > >> "That excessive bail ought not to be required, nor excessive fines imposed, >> nor cruel and unusual punishments inflicted" -- Bill of Rights 1689 > > 1689? The Bill of Rights became part of the constitution on December > 15, 1791. > https://en.wikipedia.org/wiki/Bill_of_Rights_1689 -- Mark Lloyd http://notstupid.us/ "Why doesn't God behave in such a way as to be worthy of worship?" [Barry O'Grady, bary@it.com.au]
[toc] | [prev] | [next] | [standalone]
| From | Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> |
|---|---|
| Date | 2017-05-08 23:19 +0100 |
| Message-ID | <7rDnPbQz7OEZFw7I@invalid.uk.co.demon.merlyn.invalid> |
| In reply to | #33216 |
In comp.lang.javascript message <vq4pgch7qi0t27p9io6u7569mkv0u5fh6l@4ax. com>, Fri, 5 May 2017 11:02:38, Tim Slattery <tim@risingdove.com> posted: >Tim Streater <timstreater@greenbee.net> wrote: > >>"That excessive bail ought not to be required, nor excessive fines imposed, >>nor cruel and unusual punishments inflicted" -- Bill of Rights 1689 > >1689? The Bill of Rights became part of the constitution on December >15, 1791. 1791 was a mere re-statement or amendment of 1689, which was inherited in, IIRC, 1776 unless stated otherwise. -- (c) John Stockton, Surrey, UK. ¬@merlyn.demon.co.uk Turnpike v6.05 MIME. Merlyn Web Site < > - FAQish topics, acronyms, & links.
[toc] | [prev] | [next] | [standalone]
| From | Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> |
|---|---|
| Date | 2017-05-08 23:16 +0100 |
| Message-ID | <CcSZSzP04OEZFwf4@invalid.uk.co.demon.merlyn.invalid> |
| In reply to | #33200 |
In comp.lang.javascript message <vksmgcp498jf6afkpqavb926g2rhaoj6uh@4ax.
com>, Thu, 4 May 2017 19:29:07, John G Harris
<niam@jghnorth.org.uk.invalid> posted:
>On Thu, 4 May 2017 12:04:12 -0500, Sam E
><why.should.this@be.email.invalid> wrote:
>
> <snip>
>>(EVERY number has 2 square roots).
>
>0 doesn't :-)
Javascript has two zeroes. One is positive and the other is negative.
They are equal in value; but it seems that (in Firefox & Chrome in WinXP
on PC:) they have different square roots of equal value but different
sign - at least, the following expression returns false :-
1/Math.sqrt(-0) == 1/Math.sqrt(+0)
That might represent a bug in ECMA 262 or its implementation.
Math.sqrt is not the only thing in JavaScript which can return -0 ; some
while ago now, it became evident here that The Great Panjandrum Himself
was inadequately aware of that, when the ability was at least useful and
perhaps almost indispensable.
--
(c) John Stockton, Surrey, UK. ¬@merlyn.demon.co.uk Turnpike v6.05 MIME.
Merlyn Web Site < > - FAQish topics, acronyms, & links.
[toc] | [prev] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2017-05-09 09:55 -0700 |
| Message-ID | <628d7e67-2f95-41d7-bd2e-913a75477b9e@googlegroups.com> |
| In reply to | #33255 |
Dr J R Stockton wrote: > Javascript has two zeroes. One is positive and the other is negative. > They are equal in value; but it seems that (in Firefox & Chrome in WinXP > on PC:) they have different square roots of equal value but different > sign - at least, the following expression returns false :- > 1/Math.sqrt(-0) == 1/Math.sqrt(+0) > That might represent a bug in ECMA 262 or its implementation. > > Math.sqrt is not the only thing in JavaScript which can return -0 ; some > while ago now, it became evident here that The Great Panjandrum Himself > was inadequately aware of that, when the ability was at least useful and > perhaps almost indispensable. > See <http://2ality.com/2012/03/signedzero.html>
[toc] | [prev] | [next] | [standalone]
| From | Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> |
|---|---|
| Date | 2017-05-10 17:39 +0100 |
| Message-ID | <$1PGIADBJ0EZFwaP@invalid.uk.co.demon.merlyn.invalid> |
| In reply to | #33255 |
In comp.lang.javascript message <sqrt-20170509070509@ram.dialup.fu-
berlin.de>, Tue, 9 May 2017 06:06:45, Stefan Ram <ram@zedat.fu-
berlin.de> posted:
>Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> writes:
>>sign - at least, the following expression returns false :-
>>1/Math.sqrt(-0) == 1/Math.sqrt(+0)
>
> Such an expression can also return ›false‹ when both
> values are equal (i.e., NaN). But you just can look
> directly at ›Math.sqrt( -0 )‹ in some debuggers:
>
>Math.sqrt( -0 )
>-0
>
> . (However,
>
>String( Math.sqrt( -0 ))
>"0"
>
> .) ›Math.sqrt‹ surely is specified so in ECMAScript,
> and, according to Wikipedia, ›sqrt‹ is specified this
> way in IEEE 754.
This is a slightly longer demonstration :
alert( 1/Math.sqrt(+0) + " differs greatly from " + 1/Math.sqrt(-0) )
IIRC, the sign of any arbitrary non-NaN Number X, including the zeroes
and the infinities, can be determined by evaluating
Z = X + 1/X
and comparing Z, never smaller than 2, with being greater than or less
than zero.
A JavaScript NaN must possess a sign bit; but the value of that bit is
not discoverable in JavaScript.
--
(c) John Stockton, Surrey, UK. ¬@merlyn.demon.co.uk Turnpike v6.05 MIME.
Merlyn Web Site < > - FAQish topics, acronyms, & links.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2017-05-11 03:08 +0200 |
| Message-ID | <3790771.ejJDZkT8p0@PointedEars.de> |
| In reply to | #33264 |
Stefan Ram wrote: > This program also shows that JavaScript can be used to > /script Java/. 1. No, it does not. You are using Java to execute JavaScript code, which is the opposite of that. 2. Tell news. <https://en.wikipedia.org/wiki/NPAPI#LiveConnect> (pp.) > That must be why it's called »JavaScript«! Nonsense. Read, e.g., my thesis. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.javascript
csiph-web