home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,063 of 243,242   
   Waldek Hebisch to Philipp Klaus Krause   
   Re: _BitInt(N)   
   23 Nov 25 13:32:40   
   
   From: antispam@fricas.org   
      
   Philipp Klaus Krause  wrote:   
   > Am 22.10.25 um 14:45 schrieb Thiago Adams:   
   >>   
   >>   
   >> Is anyone using or planning to use this new C23 feature?   
   >> What could be the motivation?   
   >>   
   >>   
   >   
   > Saving memory by using the smallest multiple-of-8 N that will do.   
      
   IIUC nothing in the standard says that it is smallest multiple-of-8.   
   Using gcc-15.1 on AMD-64 is get 'sizeof(_BitInt(22))' equal to 4,   
   while the number cound fit in 3 bytes.   
      
   > Also   
   > being able to use bit-fields wider than int.   
      
   For me main gain is reasonably standard syntax for integers bigger   
   that 64 bits.   
      
   --   
                                 Waldek Hebisch   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca