Also, there is no "flag" value for negative numbersActually, there is. In perl, numbers are normally floating point. Most machines nowadays use IEEE standard floats, which are sign-magnitude, not two's complement. Being able to calculate 1/(-0)=-Inf is supposed to make things easier for certain numerical algorithms.
In reply to Re: Re: Applying Sign Bit
by Anonymous Monk
in thread Applying Sign Bit
by budman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |