10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
Below is the Theory that I need to implement.
Load balancing websites can be achieved by putting 2 entries in your DNS, for instance:
www.example.com 192.168.1.1
www.example.com 192.168.1.2
then DNS will do a round Robin between them, but should either host fail then your will... (1 Reply)
Discussion started by: mohtashims
1 Replies
2. 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
3. Shell Programming and Scripting
Hi,
i want to add two decimal values to
$ set a= 12.4
$ set b=3.6
$ w=`expr $a - $b`
expr: non-numeric argument
or is there any other method to do this mathematics operation.
i need to use this into my script. (4 Replies)
Discussion started by: dear_abhi2007
4 Replies
4. Shell Programming and Scripting
Dear guys;
How can I get the ceiling value of any floating number using shell or awk scripts or functions.
Example:-
old values "7.2" or "7.8" or "7.5" --->>> ceiling function ---->>> new value "8".
BR (6 Replies)
Discussion started by: ahmad.diab
6 Replies
5. 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
6. UNIX for Dummies Questions & Answers
Dear Unix Gurus,
I have a list of files that I want to loop over....for example:
sl40_z11.70.txt
sl41_z11.40.txt
sl42_z11.10.txt
sl43_z10.80.txt
using the script
#!/bin/sh
#
echo -n "....enter first Z-coordinate position....."; read zpos
q="scale=3; $zpos"
p=0.3
#... (7 Replies)
Discussion started by: tintin72
7 Replies
7. Programming
what is floating point emulator(FPE)?
where and why it is used? (1 Reply)
Discussion started by: pgmfourms
1 Replies
8. Linux
Hi,
I am compiling "HelloWorld" C progam on 32-bit CentOS and i want to execute it on 64-bit CentOS architecture.
For that i copied the a.out file from 32-bit to 64-bit machine, but while executing a.out file on 64bit machine I am getting "Floating point exception error".
But we can run... (3 Replies)
Discussion started by: Mandar123
3 Replies
9. Shell Programming and Scripting
Hello,
i have some variables say:
x=1.4
y=3.7
I wish to round off these values to :
x = 2 (after rounding off)
y = 4 (after rounding off)
I am stuck.
Please help. (7 Replies)
Discussion started by: damansingh
7 Replies
10. Shell Programming and Scripting
Hi everyone , have a great day
given below is the excerpt of code
k=`grep -i success /var/seamless/spool/tdr/ERS_$date1$time1* | wc -l`;
l=`grep -i fail /var/seamless/spool/tdr/ERS_$date1$time1* | wc -l`;
m=`grep -i entertain /var/seamless/spool/tdr/ERS_$date1$time1* | wc -l`;
n=$(($k+$l))... (3 Replies)
Discussion started by: Dastard
3 Replies