Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The bug stops here.


devel / comp.lang.c / Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;

SubjectAuthor
* Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;Freethinker
`* Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;Richard Damon
 +- Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;Öö Tiib
 `- Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;Jan van den Broek

1
Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;

<t4nrnt$1jr5$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21584&group=comp.lang.c#21584

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!pov77UZdglJO6o5LmTFHgA.user.46.165.242.91.POSTED!not-for-mail
From: freethin...@mymail.com (Freethinker)
Newsgroups: comp.lang.c
Subject: Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;
Date: Mon, 2 May 2022 07:55:09 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t4nrnt$1jr5$1@gioia.aioe.org>
References: <c03a1683-d280-442b-9465-38ae4e7aec4bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="53093"; posting-host="pov77UZdglJO6o5LmTFHgA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: de-DE
 by: Freethinker - Mon, 2 May 2022 05:55 UTC

On 02.05.22 01:35, Skybuck Flying wrote:

>
> Is there an left to right, or right to left rule, or is it just math rules... like
> negative wins over positive, or vice versa... hmmmmmm.
>

In Math negative doesn't win over positive. In Math +- is undefined
behaviour (and most silly idea to start with).

Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;

<0X%bK.694580$7F2.66285@fx12.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21586&group=comp.lang.c#21586

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.1
Subject: Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;
Content-Language: en-US
Newsgroups: comp.lang.c
References: <c03a1683-d280-442b-9465-38ae4e7aec4bn@googlegroups.com>
<t4nrnt$1jr5$1@gioia.aioe.org>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <t4nrnt$1jr5$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Message-ID: <0X%bK.694580$7F2.66285@fx12.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 2 May 2022 21:54:07 -0400
X-Received-Bytes: 1593
 by: Richard Damon - Tue, 3 May 2022 01:54 UTC

On 5/2/22 1:55 AM, Freethinker wrote:
> On 02.05.22 01:35, Skybuck Flying wrote:
>
>>
>> Is there an left to right, or right to left rule, or is it just math
>> rules... like
>> negative wins over positive, or vice versa... hmmmmmm.
>>
>
> In Math negative doesn't win over positive. In Math +- is undefined
> behaviour (and most silly idea to start with).

No +-x is just +(-(x))

i.e., start with x, unary negate it, the unary plus it.

unary plus isn't normally a very useful operation, but is defined, I
suppose so you can write numbers like +5 to accentuate that they are
positive.

Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;

<432a6ec9-eda9-4c10-b471-d9ca9c1de4e2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21587&group=comp.lang.c#21587

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:b4d:0:b0:69f:7742:9778 with SMTP id 74-20020a370b4d000000b0069f77429778mr10948939qkl.109.1651543594455;
Mon, 02 May 2022 19:06:34 -0700 (PDT)
X-Received: by 2002:a05:622a:1195:b0:2f3:adaa:4b80 with SMTP id
m21-20020a05622a119500b002f3adaa4b80mr1442786qtk.194.1651543594345; Mon, 02
May 2022 19:06:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 2 May 2022 19:06:34 -0700 (PDT)
In-Reply-To: <0X%bK.694580$7F2.66285@fx12.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=145.14.19.246; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 145.14.19.246
References: <c03a1683-d280-442b-9465-38ae4e7aec4bn@googlegroups.com>
<t4nrnt$1jr5$1@gioia.aioe.org> <0X%bK.694580$7F2.66285@fx12.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <432a6ec9-eda9-4c10-b471-d9ca9c1de4e2n@googlegroups.com>
Subject: Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Tue, 03 May 2022 02:06:34 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 20
 by: Öö Tiib - Tue, 3 May 2022 02:06 UTC

On Tuesday, 3 May 2022 at 04:54:19 UTC+3, Richard Damon wrote:
> On 5/2/22 1:55 AM, Freethinker wrote:
> > On 02.05.22 01:35, Skybuck Flying wrote:
> >
> >>
> >> Is there an left to right, or right to left rule, or is it just math
> >> rules... like
> >> negative wins over positive, or vice versa... hmmmmmm.
> >>
> >
> > In Math negative doesn't win over positive. In Math +- is undefined
> > behaviour (and most silly idea to start with).
> No +-x is just +(-(x))
>
> i.e., start with x, unary negate it, the unary plus it.
>
> unary plus isn't normally a very useful operation, but is defined, I
> suppose so you can write numbers like +5 to accentuate that they are
> positive.

Also it converts anything shorter than int into signed int.

Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;

<t4qhsc$1gae$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21588&group=comp.lang.c#21588

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!VTMCOAzAre04Y6w16CrnuQ.user.46.165.242.75.POSTED!not-for-mail
From: balgl...@dds.nl (Jan van den Broek)
Newsgroups: comp.lang.c
Subject: Re: C := A +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-B;
Date: Tue, 3 May 2022 06:25:16 -0000 (UTC)
Organization: Sirius Cybernetics Corp.
Message-ID: <t4qhsc$1gae$1@gioia.aioe.org>
References: <c03a1683-d280-442b-9465-38ae4e7aec4bn@googlegroups.com>
<t4nrnt$1jr5$1@gioia.aioe.org> <0X%bK.694580$7F2.66285@fx12.iad>
Injection-Info: gioia.aioe.org; logging-data="49486"; posting-host="VTMCOAzAre04Y6w16CrnuQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: slrn/1.0.3 (Linux)
X-Order: Two pints of lager and a packet of crisps, please.
X-Answer: 42
Reply-By: Thu, 01 Jan 1970 01:00:00
X-Message-Flag: Your mailbox is corrupt. Upgrade your mail software.
X-Notice: Filtered by postfilter v. 0.9.2
X-Question: never, never known not even by many to exist
X-No-Ahbou: yes
X-rays: Do not expose this message to X-rays.
X-URL: http://balglaas.sdf.org
 by: Jan van den Broek - Tue, 3 May 2022 06:25 UTC

2022-05-03, Richard Damon <Richard@Damon-Family.org> schrieb:

[Schnipp]

> unary plus isn't normally a very useful operation, but is defined, I
> suppose so you can write numbers like +5 to accentuate that they are
> positive.

Sorry, couldn't resist:
Ac-Cent-Tchu-Ate The Positive - Bing Crosby & The Andrews Sisters

https://www.youtube.com/watch?v=5Qk9o_ZeR7s
--
Jan v/d Broek
balglaas@dds.nl

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor