procmail
[Top] [All Lists]

Re: RES: Mail subject recipe

2001-03-14 07:16:38
Could you please explain the numbers "2147483647" you have on your recipe
below? If you can point me to any source where I can read about it I
appreciate.

The number  2147483647 is (2^31)-1 or in simpler terms MAXINT for
signed 32 bit integers. This is the largest possible number which
can be stored in a signed integer variable.

An unsigned 32-bit integer can store up to  4294967296

Other "magic" numbers are
        65536   (2^16 i.e. unsigned maxint for 16 bit integer)
        32767   (2^15-1 signed 16bit maxint)

        256     (Unsigned 8bit maxint ... number of 8-bit ASCII chars)
        127     (signed 8bit maxint)



<>< ============================================================= ><>
Michael Doyle                    email: relyod(_at_)cooperationireland(_dot_)org
Network Administrator            personal email:     relyod(_at_)indigo(_dot_)ie
Co-operation Ireland               http://www.cooperationireland.org/
Phone: +353-1-661 0588                           Fax: +353-1-661 8456

*********************************************************************
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>