in reply to Re: Applying Sign Bit
in thread Applying Sign Bit
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Applying Sign Bit
by demerphq (Chancellor) on Jan 23, 2004 at 19:48 UTC |