09-22-2017
Hi Corona688,
The signed, unsigned, and "unadorned" long long int types (i.e., signed long long int, unsigned long long int, and long long int) weren't available in K&R C nor in the first version of the ISO C Standard, but have been ISO C standard types since the 2nd version of the standard (AKA C99).
C99 also added the header <inttypes.h> which requires for a (possibly larger than long long) intmax_t. It also requires the types intN_t and uintN_t where N is 8, 16, 32, and 64 to hold signed and unsigned, respectively, integers of exactly 8, 16, 32, and 64 bits, respectively. It requires that intmax_t be a signed integer type of at least 64 bits and that uintmax_t be an unsigned integer type of at least 64 bits. And, it allows additional N values for any other lengths of integer types supported by your compiler.
I don't know of many compilers that support other lengths, but I have seem plans to develop a compiler that would at least support int96_t, uint96_t, int128_t, and uint128_t on 64-bit architecture hardware.
This User Gave Thanks to Don Cragun For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can anyone explain me difference between tar and ufsdump commands.............and also i wd like to know the difference between incremental and differential backup.........
thx in advance (1 Reply)
Discussion started by: girish_shukla
1 Replies
2. Filesystems, Disks and Memory
I have a file of type .for extension .In a guui based unix environment like solaris if I double click on that file a specific program designed by me has to run which takes this file as the parameter and exceutes the program.
Can anyone help me? (8 Replies)
Discussion started by: nhk_srd
8 Replies
3. UNIX for Dummies Questions & Answers
What is the difference between:
cd /tmp
tar -cf - *.txt |gzip > tmp_txt.tar.gz
and
cd /tmp
mknod pipe p
gzip < pipe > /tmp/tmp_txt1.tar.gz &
tar -cf pipe *.txt
Apart from the fact that we have to create the pipe file manually, is there any difference in the performance of the two?... (5 Replies)
Discussion started by: blowtorch
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am trying to launch an ogg movie from a pdf file which has been produced with pdflatex and
\movie
{\centerline{\includegraphics
{grafiques_xerrades/un_manolo_amb_camera.pdf}}}
{hlims_xerrades/XocCumuls.ogg}
The switch "externalviewer" makes kpdf launch the default... (5 Replies)
Discussion started by: pau
5 Replies
5. UNIX for Dummies Questions & Answers
Hi Folks,
As I am familiar wih both types compresion forms: gun-zip and .rpm. My questions is how do I uncompress gunz.zip type? As the .rpm I can double click and it will extract...Can someone shed some light on this and thank you...
M (2 Replies)
Discussion started by: Mombo_Z
2 Replies
6. Programming
If I want to declare an array of structures in C and have the number of items in that array to correspond to the items of an enumeration, is there a way to access the maximum value in the enumeration when declaring the array?
For instance:
typedef struct
{
various fields....
} ... (3 Replies)
Discussion started by: cleopard
3 Replies
7. What is on Your Mind?
On another simple topic, multiple choice answers OK ( you can pick more than one or suggest others - we will add your suggestions to the poll ).
What Types of Food Do You Like The Most? (27 Replies)
Discussion started by: Neo
27 Replies
8. Shell Programming and Scripting
hi,
how to I do this?
i="4.000"
if ; then
echo "smaller"
fi
how do I convert the "4.000" to 4?
Thanks! (4 Replies)
Discussion started by: h0ujun
4 Replies
9. Shell Programming and Scripting
the following excludes certain directories successfully
cp -r probe/!(dir) /destination
I want to exclude certain file types and tried unsuccessfully
cp -r probe/!(*.avi) /destination (2 Replies)
Discussion started by: tmf
2 Replies
LEARN ABOUT MOJAVE
moosex::types::combine
MooseX::Types::Combine(3pm) User Contributed Perl Documentation MooseX::Types::Combine(3pm)
NAME
MooseX::Types::Combine - Combine type libraries for exporting
VERSION
version 0.41
SYNOPSIS
package CombinedTypeLib;
use base 'MooseX::Types::Combine';
__PACKAGE__->provide_types_from(qw/TypeLib1 TypeLib2/);
package UserClass;
use CombinedTypeLib qw/Type1 Type2 ... /;
DESCRIPTION
Allows you to export types from multiple type libraries.
Libraries on the right end of the list passed to "provide_types_from" take precedence over those on the left in case of conflicts.
CLASS METHODS
provide_types_from
Sets or returns a list of type libraries to re-export from.
SEE ALSO
MooseX::Types
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.
AUTHOR
Robert "phaylon" Sedlacek <rs@474.at>
COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Robert "phaylon" Sedlacek.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.18.2 2013-12-21 MooseX::Types::Combine(3pm)