🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #366

Re: AVL tree insertion - programming exercise

#366
From: chine.bleu
Date: Wed, 14 Oct 2026 01:01
19 lines
2293 bytes
cross@spitfire.i.gajendra.net (Dan Cross) wrote:
>>> This sentence is somewhat ambiguous because it's unclear whether
>>> >>the "less than or equal to the size requested" criteria applies
>>> >>to both the pointer type's size_and_  fundamental alignment
>>> >>requirement, or_just_  the size, [...]
>> >
>> >It's poorly constructed but in English it has only one
>> >grammatical parse.

Suitable alignment does not guarantee anything about how bits are used 
in the integer representation. That leads to machine dependent 
assumptions. Assumptions are deadly if not documented. Testing 
assumptions is better,

-- 
Siri Seal of Disavowal #777-000. Disavowed. Denied.  @
NO KINGS    For I desire mercy not sacrifice.       /|\
The Church of the Holey Apple .signature 5.5        / \
of Discordian Mysteries. This post insults Islam. Mohamed
Technical Details
Message-ID: <11amk8n$125s6$3@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <86ece2kppv.fsf@linuxsc.com> <11al4mu$fqtl$1@kst.eternal-september.org> <11ali2e$pi$1@reader2.panix.com> <86v775h9o2.fsf@linuxsc.com> <11am74c$54g$1@reader2.panix.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "chine.bleu" <chine.bleu@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: AVL tree insertion - programming exercise
Date: Tue, 13 Oct 2026 18:01:12 -0700
Organization: semi-chaotic
Lines: 19
Message-ID: <11amk8n$125s6$3@dont-email.me>
References: <86ece2kppv.fsf@linuxsc.com> <11al4mu$fqtl$1@kst.eternal-september.org> <11ali2e$pi$1@reader2.panix.com> <86v775h9o2.fsf@linuxsc.com> <11am74c$54g$1@reader2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 14 Oct 2026 01:01:12 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1120134"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18e1xnQ7ZfkuPpK2lNUEO3v4sLe4VsbNAg="; posting-host="1392efe67f01b519e885c81f10eaf3d3"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29.1
Cancel-Lock: sha1:UK7on3Fb6PwN9AfEYpDhHg1+4yY= sha256:x0LQ3qrPdbUT7QscXJzagPdqy8F6050IRmFfGGxRydQ=
	sha1:IiNwKn03l2n3E5aihxcv3UXO5K8= sha256:QMoy0nvklaSHgVIFLKGqcJZ5OgiRDT9bjgekxOZpLMA=
In-Reply-To: <11am74c$54g$1@reader2.panix.com>