๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.php
Article #104

Hacer el modulo de dos numeros grandes (da negativo)

#104
From: Paul
Date: Mon, 10 Aug 2009 16:51
8 lines
1345 bytes
$max=175760000;
$num=15606252501;

$result= $num % $max --> Esto me muestra un numero negativo.

Como hacer el mรณdulo de dos numeros grandes?

Gracias
Technical Details
Message-ID: <66dedae2-a17d-43c6-8e56-918ffaf7bbd8@n2g2000vba.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!n2g2000vba.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!n2g2000vba.googlegroups.com!not-for-mail
From: Paul <gambamia2@yahoo.es>
Newsgroups: es.comp.lenguajes.php
Subject: Hacer el modulo de dos numeros grandes (da negativo)
Date: Mon, 10 Aug 2009 09:51:10 -0700 (PDT)
Organization: http://groups.google.com
Lines: 8
Message-ID: <66dedae2-a17d-43c6-8e56-918ffaf7bbd8@n2g2000vba.googlegroups.com>
NNTP-Posting-Host: 83.33.190.101
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1249923070 13138 127.0.0.1 (10 Aug 2009 16:51:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 10 Aug 2009 16:51:10 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: n2g2000vba.googlegroups.com; posting-host=83.33.190.101; 
 posting-account=Vu5b7QoAAABTTa6GfGE70CeorlICcZJ1
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; 
 Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0;
 InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR
 3.0.30618),gzip(gfe),gzip(gfe)