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,815 of 243,242   
   Keith Thompson to ldo@nz.invalid   
   Re: printf and time_t   
   05 Jan 26 20:00:50   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Lawrence D’Oliveiro  writes:   
   > On Mon, 5 Jan 2026 07:37:07 -0500, James Kuyper wrote:   
   >> On 2026-01-05 05:32, David Brown wrote:   
   >> ...   
   >>> Does being a "real type" imply that "time_t" is always an alias for   
   >>> a standard integer type or standard floating point type?   
   >>   
   >> No, real types include integer types, which in turn includes the   
   >> signed and unsigned integer types (6.2.5p22). The signed integer   
   >> types include the extended signed integer types (6.2.5p6), and the   
   >> unsigned integer types include the extended unsigned integer types   
   >> (6.2.5p8).   
   >   
   > They could have said “numeric types” to avoid confusion with the   
   > mathematical usage ...   
      
   No, complex types are numeric types (or arithmetic types in C terms).   
      
   And in mathematical terms, both integer types and real floating types   
   represent subsets of the mathematical real numbers (plus nans and   
   infinities for the real floating types).   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- 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