|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
DoubleMark (Prime Benchmark) - Open Source
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#101 (permalink) | ||||||||||||||
|
Custom User Title
|
Quote:
Code:
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
int main(void)
{
srand((unsigned int) time(0)); // sets the seed
// random integer 0 -> n
x = rand()% (n+1);
// random double between a and b
y = ((double)rand()/RAND_MAX)*(b-a) +a;
}
__________________
Intel Overclocking Guide * Need A New Password? * Dual Core Folding Guide * Intel Memory Guide * Use Vista's UAC * Don't Post News From Fudzilla!
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others." - Thomas Jefferson "If everyone is thinking alike, then somebody isn't thinking." - General George Patton "Make everything as simple as possible, but not simpler" -Albert Einstein
|
||||||||||||||
|
|
|
|
#102 (permalink) | ||||||||||||||
|
The Project Keeper
|
Quote:
Code:
private int RandomNumber(int min, int max)
{
Random random = new Random();
return random.Next(min, max);
}
__________________
|
||||||||||||||
|
|
|
|
#103 (permalink) | |||||||||||||
|
WaterCooler
|
Could you export as VS2005? Not all of us can purchase (O.o) the newest versions of software. =)
__________________
|
|||||||||||||
|
|
|
|
|
#104 (permalink) | ||||||||||||||
|
The Project Keeper
|
Quote:
http://msdn2.microsoft.com/en-us/exp.../bb421473.aspx
__________________
Last edited by Licht : 03-13-08 at 08:16 PM. |
||||||||||||||
|
|
|
|
#105 (permalink) | |||||||||||||
|
Intel Overclocker
Join Date: Jan 2007
Location: Springfield, Oregon
Posts: 2,778
Rep: 229
![]() ![]() ![]() Unique Rep: 184
Trader Rating: 4
|
Haha, yeah I'm still running 2003... o.O
__________________
Hotel Da Volta - The Enigma: Rising Tide Add-On The Gigabyte GA-P35-DS3L Thread 101% OC on E6300!
|
|||||||||||||
|
|
|
|
|
#106 (permalink) | |||||||||||||
|
The Project Keeper
|
I think it would be wise you click the link i provided.
![]() Also at the moment im repairing my PC. Finally found my issues were within the BIOS settings which were optimized defaults from a overclock failure. I had never imagined that it would have set them to a way that would damage my system. (Floppy drive was enabled and trying to boot from as well as SATA settings being incorrect, system couldn't properly access the RAID0 array correctly somehow.) ---- Little over 100 posts, little under 2000 views. Also i want to tell people im very sick at the moment, forgive my slowness.
__________________
Last edited by Licht : 03-14-08 at 08:45 PM. |
|||||||||||||
|
|
|
|
#107 (permalink) | ||||||||||||||
|
WaterCooler
|
Quote:
I was thinking about maybe working on a gpu component to this application using the XNA package MS released a little while ago.
__________________
|
||||||||||||||
|
|
|
|
|
#108 (permalink) | ||||||||||||||
|
The Project Keeper
|
Quote:
Way ahead of you. <<< Has experience in 3D graphics design and implementation.
__________________
|
||||||||||||||
|
|
|
|
#109 (permalink) | |||||||||
|
Programmer
|
I'd like to see the code you have up till now...
Kinda curious on how far along you with build3.
__________________
My Lego case thread. With PICS!!! ----------------------------------------------------------------------- Video card RMA database thread. I am working on an application that allows users to input their cards issues into a database, to build a knowledge base for what types of cards have a lower fail rate.
|
|||||||||
|
|
|
|
#110 (permalink) | ||||||||||||||
|
The Project Keeper
|
Quote:
------ Got an old code from thepope, much much work lost sadly. I'll see if theres anything worth posting. ------ Completely outdated work, nothing worth posting. I lost the stress test which was done, i lost my highly revised algorithm for prime numerization. I lost almost everything, even GUI work for the stress test. Sorry to disappoint you.
__________________
Last edited by Licht : 03-16-08 at 11:54 PM. |
||||||||||||||
|
|
![]() |
| Tags |
| benchmark, doublemark, doublemark topic, multi-thread, stress test |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|