mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-29 13:03:42 +01:00
13 lines
171 B
C
13 lines
171 B
C
|
#include <stdio.h>
|
||
|
#include <math.h>
|
||
|
#include <assert.h>
|
||
|
|
||
|
int
|
||
|
main()
|
||
|
{
|
||
|
float x = 0xd.65874p-4f;
|
||
|
float y = 4.0f;
|
||
|
float z = powf (x, y);
|
||
|
assert(z==0x1.f74424p-2);
|
||
|
}
|