Description:
Discussion about C language standards.
|
|
|
Padding at the end of structures
|
| |
§6.7.2.1 allows, but does not require, padding at the end of a structure or union. Logically, such padding is required to ensure proper alignment of elements in an array of structures. Take the following declaration: struct foo { int i; char c; } bar[2]; Assuming a four-byte alignment requirement for int, and hence for struct... more »
|
|
Formal definition of restrict
|
| |
6.7.3.1p3 from "Formal definition of restrict" says In what follows, a pointer expression E is said to be based on object P if (at some sequence point in the execution of B prior to the evaluation of E) modifying P to point to a copy of the array object into which it formerly pointed would change the value of E.122) Note... more »
|
|
%a correctly rounded to specified precision
|
| |
Given an IEEE 754 double implementation, ...int main (void) { printf ("%.2a\n", DBL_MAX); return 0; ...the correctly rounded value of DBL_MAX the given precision, whilst still being representable as a double, is +infinity in round-to- nearest mode. Is the intent of the standard that in this case text like "inf" (etc)... more »
|
|
short float ???
|
| |
Hi In a previous message I asked this question but it got swamped by the discussion about vector extensions (that has degenerated into discussions about everything else, as it happens when the people in comp.lang.c come into play) Specifically I want to suggest that we use the combination of short float... more »
|
|
PĂMĀNT, CUVĀNT DACIC, NU ROMAN.Minciuni grosolane īn lingvistica romānească.
|
| |
PĂMĀNT, CUVĀNT DACIC, NU ROMAN. Minciuni grosolane īn lingvistica romānească. Pămānt este un cuvānt dacic, pentru că nicio altă limbă europeană nu numeşte astfel tina, glia, ţărāna, lutul, argila, huma, stānca, stāna, tārla, gunoiul, gorgan, ţarina, tărāmul, plaiul, meleagurile,... more »
|
|
Vector code in C
|
| |
Hi The preview of the X86 processor features for 2010 shows a 256 bit register file (called YMM) that will be able to do SIMD of 4 double precision data or 8 single precision data at a time. In this context, I would be interested to know if there are any extensions proposed or planned by the standards... more »
|
|
Determining if an n-ary tree is balanced or not.
|
| |
I am trying to determine if an n-ary tree is balanced or not, I have been stuck trying several approaches and am getting nowhere. My new thought is that i will have to step through each node of the tree, and compare the lengths of the roots of the children, making sure there is not a difference greater than one in the values for all of the... more »
|
|
Updated: The New C Standard
|
| |
All, Version 1.2 of my book: "The New C Standard: An Economic and Cultural Commentary" is available at: [link] (10.5M pdf) Web site here: [link] What has changed between version 1.1 and 1.2 Improved page layout has reduced the page count even although the... more »
|
|
SOARE, CUVĀNT DACIC, NU ROMAN.MINCIUNI GROSOLANE ĪN LINGVISTICĂ.
|
| |
SOARE, CUVĀNT DACIC, NU ROMAN. MINCIUNI GROSOLANE ĪN LINGVISTICĂ. Din toatā Europa, NUMAI ROMĀNA numeşte astrul solar SOARE, dovedind o personalitate ieşită din comun, BRENDUL romānilor, inclusiv a romānilor strămoşi daci, conform noţiunii de romān=ţăran, confundată, īn mod eronat, cu cea de rom^n =roman, persoană cu drepturi depline... more »
|
|
|