Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 11052 invoked from network); 7 Jul 2008 14:29:13 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by air964.startdedicated.com with SMTP; 7 Jul 2008 14:29:13 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 12E52879F58;
 Mon,  7 Jul 2008 15:29:13 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 01120-02; Mon, 7 Jul 2008 15:29:12 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7D71287A0B0;
 Mon,  7 Jul 2008 15:29:12 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 07 Jul 2008 14:49:57 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 57C8D875797
 for <oracle-l@freelists.org>; Mon,  7 Jul 2008 14:49:57 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 25493-01 for <oracle-l@freelists.org>;
 Mon, 7 Jul 2008 14:49:57 -0400 (EDT)
Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2DD83878AA6
 for <oracle-l@freelists.org>; Mon,  7 Jul 2008 14:49:56 -0400 (EDT)
Received: by py-out-1112.google.com with SMTP id z57so916105pyg.22
        for <oracle-l@freelists.org>; Mon, 07 Jul 2008 11:49:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type:references;
        bh=efuJh5m7IdaXuVAs19K7MsoXOrieTX5gl3vOnivnQJY=;
        b=F5V9hxUn91BZUlNv0//O6qg3jHL3owSgW4VwJlXfJ0M6MGCL+rbVHQcmUXVQlrb5y7
         nKZzCM3lB2eyU+rCfvAj4AhL6Zy1nB0Xrtsd9qtHtquUHqZjY75w0ATQeB7N0GQ62rOu
         1qCkV32UHpmboX7p8EIVQYtzcpbFqaihX8nKk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:references;
        b=FRKzBr7HAMt1gY+NzGEP46D92/tM2sXH2ECrieDduBV7E8DuX4RSFNDYZAjBOzACJP
         F48OMo1uoo93XYrsczK03fRt1db20girzUYKVF7VIY6ly+O9nsUpaSpGtUKztgJ8dOQP
         /mV1LfDQ247V5q8joBk139naiE9qIoXdvweDk=
Received: by 10.141.48.10 with SMTP id a10mr2666717rvk.4.1215456596027;
        Mon, 07 Jul 2008 11:49:56 -0700 (PDT)
Received: by 10.141.76.5 with HTTP; Mon, 7 Jul 2008 11:49:55 -0700 (PDT)
Message-ID: <bf46380807071149u4640cdfeo92c0eb79e78ecddd@mail.gmail.com>
Date: Mon, 7 Jul 2008 11:49:55 -0700
From: "Jared Still" <jkstill@gmail.com>
To: "Oracle-L Freelists" <oracle-l@freelists.org>
Subject: Re: Limit or Bug?
In-Reply-To: <bf46380807031344v4d13ad5ar364cb65b626dd5bb@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_20085_29456736.1215456595977"
References: <bf46380807031344v4d13ad5ar364cb65b626dd5bb@mail.gmail.com>
X-archive-position: 9341
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: jkstill@gmail.com
Precedence: normal
Reply-to: jkstill@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
------=_Part_20085_29456736.1215456595977
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thu, Jul 3, 2008 at 1:44 PM, Jared Still <jkstill@gmail.com> wrote:

>
> The following bit of SQL uses the mod() function to determine modulus 2 of
> two large numbers
>
> 13:37:20 SQL>set echo on
> 13:37:24 SQL>@mod_test
> 13:37:25 SQL>
> 13:37:25 SQL>
> 13:37:25 SQL>
> 13:37:25 SQL>select mod(power(2,127)-1,2) from dual
> 13:37:25   2  /
>
>
Question was answered on OTN forums.

http://forums.oracle.com/forums/thread.jspa?threadID=678729

It's in the docs - scale is limited to a range of -84 to 127

*http://tinyurl.com/6qllqu


*--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

------=_Part_20085_29456736.1215456595977
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><div class="gmail_quote">On Thu, Jul 3, 2008 at 1:44 PM, Jared Still &lt;<a href="mailto:jkstill@gmail.com">jkstill@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>The following bit of SQL uses the mod() function to determine modulus 2 of two large numbers<br><br>13:37:20 SQL&gt;set echo on<br>13:37:24 SQL&gt;@mod_test<br>13:37:25 SQL&gt;<br>13:37:25 SQL&gt;<br>13:37:25 SQL&gt;<br>

13:37:25 SQL&gt;select mod(power(2,127)-1,2) from dual<br>13:37:25&nbsp;&nbsp; 2&nbsp; /<br><br></blockquote></div><br>Question was answered on OTN forums.<br><br><a href="http://forums.oracle.com/forums/thread.jspa?threadID=678729">http://forums.oracle.com/forums/thread.jspa?threadID=678729</a><br>
<br>It&#39;s in the docs - scale is limited to a range of -84 to 127<br><br><b><a href="http://tinyurl.com/6qllqu">http://tinyurl.com/6qllqu</a><br><br><br></b>-- <br>Jared Still<br>Certifiable Oracle DBA and Part Time Perl Evangelist<br>


------=_Part_20085_29456736.1215456595977--
--
http://www.freelists.org/webpage/oracle-l


