libm Questions
2
round function in jq doesn't work.
$ jq '10.01 | round'
jq: error: round/0 is not defined at <top-level>, line 1:
10.01 | round
jq: 1 compile error
$ jq --help
jq - commandline JSON proces...
1
I already know how to build the new version of Glibc (e.g. 2.3) beside the older version (e.g. 2.19).
I followed the instructions in https://www.tldp.org/HOWTO/html_single/Glibc-Install-HOWTO/
Bu...
Gambrinus asked 20/11, 2019 at 22:50
3
Solved
With some compilers, using pow and certain other functions in a C program requires linking to the m library. However, some compilers don't require this and would error out on linking to the m libra...
1
Solved
3
2
I am having trouble compiling code intended for 32bit unix system on my 64bit Ubuntu, Linux. Does anyone have any ideas what may be the problem?
gcc main.o test.o render.o transform.o model.o vect...
3
Solved
The GCC implementation of the C mathematical library on Debian systems has apparently an (IEEE 754-2008)-compliant implementation of the function exp, implying that rounding shall always be correct...
5
Solved
I'm very new to C and I have this code:
#include <stdio.h>
#include <math.h>
int main(void)
{
double x = 0.5;
double result = sqrt(x);
printf("The square root of %lf is %lf\n...
Betthezul asked 2/5, 2012 at 6:53
3
Solved
Is it a standard to have only dynamic libraries mostly without their static version? I am particularly asking about math library. In my fedora 17 (linux machine on Intel 32 processor), I have lates...
4
Solved
I have native source code written in C that I would like to run on my Android device (Nexus 7). I already successfully did lots of research and online tutorials on running native code on Android us...
Dieter asked 6/3, 2013 at 14:50
1
Solved
As per Wikipedia there are many variants of standard C library based on operating system and compilers.
Ref: http://en.wikipedia.org/wiki/C_standard_library
But I want to understand that how ple...
Profundity asked 5/12, 2013 at 9:43
2
#include <math.h>
#include <stdio.h>
int main()
{
printf("%f", roundf(3.14));
}
I compile above code (hasn't use -lm), add use ldd a.out, the result is
linux-vdso.so.1 => (0x000...
1
I want to download and compile the source code for libm (GNU's may library).
Can someone point me to the correct location / repository?
0
I have a problem during try to compile sources with recent android-9 x86 platform.
Primary question: why static library libm.a and dynamic libm.so are different?
Problem is i've try to compile:
...
Hygroscope asked 14/6, 2012 at 7:49
1
© 2022 - 2024 — McMap. All rights reserved.