English
Bugs and vermeintliche

Modulo and large numbers

 

Jörg
Sellmeyer
is it possible, too Mod whom Use with numbers larger Long beizubiegen?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/11/07  
 




Jac
de
Lad
instead of
CompileMarkSeparation
r&=a! MOD b!
>

CompileMarkSeparation
r&=a!-b!*Int(a!/b!)
>
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/11/07  
 




Jörg
Sellmeyer
Very neat! there hats by me hooked. thanks!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/11/07  
 




Jac
de
Lad
is only presumably right slow and has no request, whether b! too one Integer is.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/11/07  
 




Michael
Wodrich
The Formel I had too for the selbstgestrickte chance in the rnd()-Thread using. the MOD for Integers is naturally invincible but it comes Yes always hereon on, How often The Aufrufe are. If one it only time so needed is these shape still aale. for thousands of of Divisionen ought to one itself then but rather one 64-bit-Assembler-Module basteln.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
12/11/07  
 




Jac
de
Lad
...if one Assembler rule...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/12/07  
 




Michael
Wodrich
@Frank:
gives it the Modulo really too with whom Fließkommazahlen?
FPU and/or The neueren mutants?
 
Programmieren, das spannendste Detektivspiel der Welt.
12/12/07  
 




Jörg
Sellmeyer
Michael Wodrich
The Formel I had too for the selbstgestrickte chance in the rnd()-Thread using.


Oh - I had none seen

Michael Wodrich
the MOD for Integers is naturally invincible but it comes Yes always hereon on, How often The Aufrufe are. If one it only time so needed is these shape still aale. for thousands of of Divisionen ought to one itself then but rather one 64-bit-Assembler-Module basteln.


I need it ca 2^15 -time. No - jest. the reicht me already. but Modulo could nevertheless gladly aufgebohrt go.
The function should one still really simply with Using Prof2ASM in reinen Profancode transfiguring can, sodaß the Binärcode in a area lying.
unfortunately wants itself ASM I do not erschließen, though Frank always behauptet, it would so simply.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/12/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.657 Views

Untitledvor 0 min.
H.Brill02/24/23
Sven Bader02/23/23
Walter05/10/21
Georg Teles01/24/17
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie