01-22-2009
Are you building it as static or shared?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi, :)
I have a file like this
10.456
123.567
456.876
234.987
........
.......
What i want to do is ia have to add all those numbers and put the result in some other file.
Any help pls.
cheers
RRK (8 Replies)
Discussion started by: ravi raj kumar
8 Replies
2. Programming
Hi all!
Hi all!
I am working with a problem to find the smallest floating point number that can be represented.
I am going in a loop ,stating with an initial value of 1.0 and then diving it by 10 each time thru the loop.
So the first time I am getting o.1 which I wanted.But from the next... (4 Replies)
Discussion started by: vijlak
4 Replies
3. Programming
Hi,
see the simple code below
double i;
i=8080.9940;
printf(" val :%.30f\n",i);
output i m getting is
val :8080.993999999999700000000000000
when i m expecting
val :8080.9940
what happens?how can i avoid it?
thanks... (2 Replies)
Discussion started by: Hara
2 Replies
4. Shell Programming and Scripting
Hi, guys,
today, I have copied a simple script which runs correctly on a computer to another one. But, the latter informs me:
Floating point exception!
@ ./command_module a b c
where command_module is the module compiled by myself.
So, I have fixed it by following steps:
1.... (5 Replies)
Discussion started by: mapleleaves
5 Replies
5. Linux
Hi,
I have linux fedora 4 ver., 2.6 kernal. And qmail & mysql & samba servers are already configured on this server.
When I try to install any package like squidguard ,dansguardian,webmin,rsnapshots with command rpm -ivh . It is giving error as “Floating point exception"
Snap View is... (3 Replies)
Discussion started by: ssk01
3 Replies
6. Programming
what is floating point emulator(FPE)?
where and why it is used? (1 Reply)
Discussion started by: pgmfourms
1 Replies
7. Shell Programming and Scripting
# if
> then
> echo "1"
> else
> echo "2"
> fi
-bash:
How can i compare floating point numbers inside statement? (15 Replies)
Discussion started by: proactiveaditya
15 Replies
8. Shell Programming and Scripting
is it not possible to simply di aritmetic without using bc or awk
i have tried folllowing operatrions but they support only integer types plz suggest me code for floating using values stored in the variables.the ans i get is integer and if i input floating values i get error numeric constant... (6 Replies)
Discussion started by: sumit the cool
6 Replies
9. Programming
Anyone help me i cant found the error of floating point
if needed, i added the code complete
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
typedef struct
{
int hh;
int mm;
int ss;
char nom;
int punt;
}cancion;
typedef struct... (9 Replies)
Discussion started by: Slasho
9 Replies
10. Shell Programming and Scripting
Heyas
I have a script (vhs - video handler script, using ffmpeg) to encode videos.
It also encodes a dvd, but until now just non-copy-protected ones, so i've tried to add/implement a vobcopy wrapper to be used by my script.
At first it looked quite fine, but when changing from the first VOB... (9 Replies)
Discussion started by: sea
9 Replies
LEARN ABOUT DEBIAN
dtc_install_centos
dtc_install_centos(8) System Manager's Manual dtc_install_centos(8)
NAME
dtc_install_centos - bootstrap a CentOS install to use in a chroot or VM
SYNOPSIS
dtc_install_centos <install root> <yum environment>
DESCRIPTION
This shell script is part of the dtc-xen package, generally to be used by the dtc panel to install a new a Xen VPS server. This script is
called by dtc_reinstall_os when the user chooses to install the CentOS operating system.
How it works: it generates a temporary yum configuration in the yum environment directory, that directs yum to act inside the install root
instead of in the base system; then it kindly requests yum to install the basesystem, centos-release and yum packages onto it. Yum then
uses the configuration to download the required (usually, security-updated) packages and then perform the RPM installation process under
the install root.
It requires both RPM and yum. It does work under Debian (it was developed in Ubuntu first). It should also work on RPM-based systems
without destroying the system-wide RPM and yum configurations.
OPTION
<install root>
Target directory where CentOS will be deployed. Must exist beforehand.
<yum environment>
Directory where yum will store the repository manifests and configuration. Will be automatically created. Cached RPMs and manifests will
be left, as usual, in a directory var/cache/yum inside the install root.
EXAMPLE
dtc_install_centos /root/yum /xen/13
This will setup the operating system in /xen/13, with the CentOS configuration folder in /root/yum.
BUGS
It's limited to CentOS 5 at the moment.
It must be run as root.
Under some circumstances, the installation process itself may kill processes running on the host machine. The chroot yum does should be
sufficient to avoid this, but we haven't been able, yet, to ascertain why this fails sometimes.
SEE ALSO
dtc_reinstall_os(8)
VERSION
This documentation describes dtc_install_os version 0.3.1.
See http://www.gplhost.com/software-dtc-xen.html for updates.
dtc_install_centos(8)