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 CENTOS
hwloc_get_cache_covering_cpuset
Cache-specific Finding Helpers(3) Hardware Locality (hwloc) Cache-specific Finding Helpers(3)
NAME
Cache-specific Finding Helpers -
Functions
static inline int hwloc_get_cache_type_depth (hwloc_topology_t topology, unsigned cachelevel, hwloc_obj_cache_type_t cachetype)
static inline hwloc_obj_t hwloc_get_cache_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set)
static inline hwloc_obj_t hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology , hwloc_obj_t obj)
Detailed Description
Function Documentation
static inline hwloc_obj_t hwloc_get_cache_covering_cpuset (hwloc_topology_ttopology, hwloc_const_cpuset_tset) [static]
Get the first cache covering a cpuset set. Returns:
NULL if no cache matches.
Note:
This function cannot work if the root object does not have a CPU set, e.g. if the topology is made of different machines.
static inline int hwloc_get_cache_type_depth (hwloc_topology_ttopology, unsignedcachelevel, hwloc_obj_cache_type_tcachetype) [static]
Find the depth of cache objects matching cache depth and type. Return the depth of the topology level that contains cache objects whose
attributes match cachedepth and cachetype. This function intends to disambiguate the case where hwloc_get_type_depth() returns
HWLOC_TYPE_DEPTH_MULTIPLE.
If no cache level matches, HWLOC_TYPE_DEPTH_UNKNOWN is returned.
If cachetype is HWLOC_OBJ_CACHE_UNIFIED, the depth of the unique matching unified cache level is returned.
If cachetype is HWLOC_OBJ_CACHE_DATA or HWLOC_OBJ_CACHE_INSTRUCTION, either a matching cache, or a unified cache is returned.
If cachetype is -1, it is ignored and multiple levels may match. The function returns either the depth of a uniquely matching level or
HWLOC_TYPE_DEPTH_MULTIPLE.
static inline hwloc_obj_t hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology, hwloc_obj_tobj) [static]
Get the first cache shared between an object and somebody else. Returns:
NULL if no cache matches or if an invalid object is given.
Author
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Version 1.7 Sun Apr 7 2013 Cache-specific Finding Helpers(3)