[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: GCC optimizes integer overflow: bug or feature?
From:       Gabriel Dos Reis <gdr () integrable-solutions ! net>
Date:       2006-12-30 17:43:37
Message-ID: m3lkkp8ek6.fsf () zeus ! integrable-solutions ! net
[Download RAW message or body]

Vincent Lefevre <vincent+gcc@vinc17.org> writes:

[...]

| Shouldn't GCC provide an extension to obtain the maximum and minimum
| values of integer types?

GCC already does.  I suspect you meant a _generic_ way a la numeric_limits?
That is doable.

-- Gaby
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic