12-08-2005
I have to be able to do this programmatically, Eronysis. On single-core and dual-core systems, which breaks the division idea . . . unless I want to report half a processor.
4 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
From the Apache thread in the Adanced forum:
Thats because your browser interprets anything within angle brackets to be an HTML tag. You need to quote these brackets if you want them to appear correctly. The proper quotes are:
&lt; for <
and
&gt; for >
So, for example, you would have... (1 Reply)
Discussion started by: PxT
1 Replies
2. Post Here to Contact Site Administrators and Moderators
I think that HTML code within posts should be turned off -- the vB Code can provide all the features we need. Then, you should modify the program to automatically escape any angle brackets, so that < gets translated to &lt; and > gets translated to &gt;
I see a lot of people garble their posts... (4 Replies)
Discussion started by: PxT
4 Replies
3. HP-UX
I'm fairly new to HP-UX, and I need to know how to identify the number of cores on a PA-8800 processor from the command line. Any help here would be appreciated. (11 Replies)
Discussion started by: Midcain
11 Replies
4. Shell Programming and Scripting
Hi all,
Using shell script, how to assign tasks to individual processors in a multicore processor ? For example: If I have 4 processors, I want to give one job to each of the processors. (When I give multiple jobs, it's assigning all the load to a single processor. )
Thanks
R (5 Replies)
Discussion started by: habzone2007
5 Replies
LEARN ABOUT REDHAT
fixcos
fixcos(3alleg4) Allegro manual fixcos(3alleg4)
NAME
fixcos - Fixed point cosine of binary angles. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
fixed fixcos(fixed x);
DESCRIPTION
This function finds the cosine of a value using a lookup table. The input value must be a fixed point binary angle. Example:
fixed angle;
float result;
/* Set the binary angle to 45 degrees. */
angle = itofix(32);
/* The cosine of 45 degrees is about 0.7071. */
result = fixtof(fixcos(angle));
ASSERT(result > 0.7 && result < 0.71);
RETURN VALUE
Returns the cosine of a fixed point binary format angle. The return value will be in radians.
SEE ALSO
, ex12bit(3alleg4), ex3buf(3alleg4), exblend(3alleg4), excustom(3alleg4), exspline(3alleg4), exupdate(3alleg4)
Allegro version 4.4.2 fixcos(3alleg4)