mirror of git://gcc.gnu.org/git/gcc.git
intrinsic.texi (LEADZ): Fix example.
2011-01-03 Janus Weil <janus@gcc.gnu.org> * intrinsic.texi (LEADZ): Fix example. From-SVN: r168415
This commit is contained in:
parent
94f95505a0
commit
d9ace2ef64
|
|
@ -1,3 +1,7 @@
|
||||||
|
2011-01-03 Janus Weil <janus@gcc.gnu.org>
|
||||||
|
|
||||||
|
* intrinsic.texi (LEADZ): Fix example.
|
||||||
|
|
||||||
2011-01-02 Janus Weil <janus@gcc.gnu.org>
|
2011-01-02 Janus Weil <janus@gcc.gnu.org>
|
||||||
|
|
||||||
PR fortran/46408
|
PR fortran/46408
|
||||||
|
|
|
||||||
|
|
@ -7316,7 +7316,8 @@ If all the bits of @code{I} are zero, the result value is @code{BIT_SIZE(I)}.
|
||||||
@item @emph{Example}:
|
@item @emph{Example}:
|
||||||
@smallexample
|
@smallexample
|
||||||
PROGRAM test_leadz
|
PROGRAM test_leadz
|
||||||
WRITE (*,*) LEADZ(1) ! prints 8 if BITSIZE(I) has the value 32
|
WRITE (*,*) BIT_SIZE(1) ! prints 32
|
||||||
|
WRITE (*,*) LEADZ(1) ! prints 31
|
||||||
END PROGRAM
|
END PROGRAM
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue