view modules/integer_length @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
parents 10da83926c24
children 1f14c6dd175d
line wrap: on
line source

Description:
Finds the most significant bit in an 'unsigned int'.

Files:
lib/integer_length.h
lib/integer_length.c
lib/float+.h
m4/longlong.m4
m4/exponentd.m4

Depends-on:
float

configure.ac:
AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION])

Makefile.am:
lib_SOURCES += integer_length.c

Include:
"integer_length.h"

License:
LGPLv2+

Maintainer:
Bruno Haible