Linux and UNIX Man Pages

Test Your Knowledge in Computers #222
Difficulty: Easy
NetMarketShare reported that the combined versions of Microsoft Windows lead the worldwide market with close to a 93% market share at the end of August 2011, followed by OS X at 6%, and Linux with 1%.
True or False?
Linux & Unix Commands - Search Man Pages

fixcos(3alleg4) [freebsd man page]

fixcos(3alleg4) 						  Allegro manual						   fixcos(3alleg4)

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)

3 More Discussions You Might Find Interesting

1. HP-UX

Multicore from a different angle

Everyone seemed to be a little stumped by the multicore question I asked earlier this week, so I decided I'd try a different angle. Turns out that on a multicore system HP-UX reports every core as a seperate processor. All the usual commands (ioscan, top, etc.) report two processors for every... (7 Replies)
Discussion started by: Midcain
7 Replies

2. UNIX for Dummies Questions & Answers

Importing R cosine similarity to UNIX?

I really need help in this :( I have a file and would like to calculate the cosine similarity of the values in it... For now I do use R which has an easy function for doing so test <- as.matrix(read.csv(file="file.csv", sep=",", header=FALSE)) result<- cosine(t(test)) I am using unix of... (3 Replies)
Discussion started by: A-V
3 Replies

3. Shell Programming and Scripting

Base32 decoding binary file to ascii

I need to convert a binary file which in encoded using base32 encoding technique and convert that into readible ASCII so that i can load the same in DB. is there any command to do the same. sample from the binary file lools like : ... (18 Replies)
Discussion started by: krk
18 Replies

Featured Tech Videos