Skip to content

Change C arithmetic types to integral types.

I've done some looking, and I haven't found a case where C's arithmetic types aren't implemented as integers or words. Furthermore, the arithmetic types already allow (*) via Num, so it'd be nice to have them be Integral types so that we have div, too.

I propose we include Bits, Enum, and Integral instances for CTime and friends.

Jeff

Trac metadata
Trac field Value
Version 7.6.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information