09-28-2004
I must admit I was quite surprised as well!
I need to lurk more often but alas, I am a slackard!
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've just installed redhat 6.2 on one of my systems and am trying to install the gcc c compiler after downloading an rpm from the redhat site. The damn thing gives me:
only major numbers <= 3 are supported by this version of RPM
what do I do, it does the same with the latest rpm of php
... (7 Replies)
Discussion started by: knmwt15000
7 Replies
2. Shell Programming and Scripting
Hi everyone,
I have a requirement that requires me to fill an sqlite database with 100,000 entries (no duplicates).
I will start out by giving the command that will insert the values necessary to populate the database:
# sqlite /var/local/database/dblist "insert into list... (2 Replies)
Discussion started by: ogoy
2 Replies
3. Shell Programming and Scripting
I've been able to generate output based on the code scarfake provided me (thanks again man).
A little background so everyone more or less knows whats going on:
I needed code that would propagate a database with 100,000 entries, for capacity testing purposes, something like a stress test.
... (5 Replies)
Discussion started by: ogoy
5 Replies
4. UNIX for Dummies Questions & Answers
:eek: (1 Reply)
Discussion started by: Kevinfine
1 Replies
5. Shell Programming and Scripting
I have a list of Servers in no particular order as follows:
virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection).
9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies
6. Shell Programming and Scripting
I have searched in a variety of ways in a variety of places but have come up empty.
I would like to prepend a portion of a section header to each following line until the next section header. I have been using sed for most things up until now but I'd go for a solution in just about anything--... (7 Replies)
Discussion started by: pagrus
7 Replies
LEARN ABOUT NETBSD
hypotf
HYPOT(3) BSD Library Functions Manual HYPOT(3)
NAME
hypot, hypotf -- Euclidean distance and complex absolute value functions
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
hypot(double x, double y);
float
hypotf(float x, float y);
DESCRIPTION
The hypot() functions compute the sqrt(x*x+y*y) in such a way that underflow will not happen, and overflow occurs only if the final result
deserves it.
hypot(infinity, v) = hypot(v, infinity) = +infinity for all v, including NaN.
ERRORS
Below 0.97 ulps. Consequently hypot(5.0, 12.0) = 13.0 exactly; in general, hypot returns an integer whenever an integer might be expected.
The same cannot be said for the shorter and faster version of hypot that is provided in the comments in cabs.c; its error can exceed 1.2
ulps.
NOTES
As might be expected, hypot(v, NaN) and hypot(NaN, v) are NaN for all finite v; with "reserved operand" in place of "NaN", the same is true
on a VAX. But programmers on machines other than a VAX (it has no infinity) might be surprised at first to discover that hypot(+-infinity,
NaN) = +infinity. This is intentional; it happens because hypot(infinity, v) = +infinity for all v, finite or infinite. Hence
hypot(infinity, v) is independent of v. Unlike the reserved operand fault on a VAX, the IEEE NaN is designed to disappear when it turns out
to be irrelevant, as it does in hypot(infinity, NaN).
SEE ALSO
math(3), sqrt(3)
HISTORY
Both a hypot() function and a cabs() function appeared in Version 7 AT&T UNIX. cabs() was removed from public namespace in NetBSD 5.0 to
avoid conflicts with the complex function in C99.
BSD
February 12, 2007 BSD