<?xml version="1.0" encoding="windows-1252"?>
<node id="661956" title="Re^3: Seeing if two numbers have the same sign" created="2008-01-11 14:23:05" updated="2008-01-11 09:23:05">
<type id="11">
note</type>
<author id="108447">
demerphq</author>
<data>
<field name="doctext">
&lt;p&gt;
Hmm. I didnt actually test it and had assumed that the result of binary xor was going to be signed, but of course its unsigned, hence the xor ideas doesnt work as written. My bad. Sorry. Id just use the $x&lt;0 == $y&lt;0 approach anyway. :-)
&lt;/p&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-108447"&gt;
---&lt;br /&gt; 
$world=~s/war/peace/g&lt;br /&gt;
&lt;br /&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
661623</field>
<field name="parent_node">
661753</field>
</data>
</node>
