mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Improve debug binary location detection
This commit is contained in:
parent
68c7c9c1e0
commit
7a9e176ecf
17 changed files with 92 additions and 50 deletions
|
@ -28,7 +28,7 @@
|
|||
#include "libc/tinymath/internal.h"
|
||||
// clang-format off
|
||||
|
||||
double __math_oflow(uint32_t sign)
|
||||
dontinstrument double __math_oflow(uint32_t sign)
|
||||
{
|
||||
return __math_xflow(sign, 0x1p769);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "libc/tinymath/internal.h"
|
||||
// clang-format off
|
||||
|
||||
float __math_oflowf(uint32_t sign)
|
||||
dontinstrument float __math_oflowf(uint32_t sign)
|
||||
{
|
||||
return __math_xflowf(sign, 0x1p97f);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "libc/tinymath/internal.h"
|
||||
// clang-format off
|
||||
|
||||
double __math_uflow(uint32_t sign)
|
||||
dontinstrument double __math_uflow(uint32_t sign)
|
||||
{
|
||||
return __math_xflow(sign, 0x1p-767);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "libc/tinymath/internal.h"
|
||||
// clang-format off
|
||||
|
||||
float __math_uflowf(uint32_t sign)
|
||||
dontinstrument float __math_uflowf(uint32_t sign)
|
||||
{
|
||||
return __math_xflowf(sign, 0x1p-95f);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "libc/tinymath/internal.h"
|
||||
// clang-format off
|
||||
|
||||
double __math_xflow(uint32_t sign, double y)
|
||||
dontinstrument double __math_xflow(uint32_t sign, double y)
|
||||
{
|
||||
return eval_as_double(fp_barrier(sign ? -y : y) * y);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "libc/tinymath/internal.h"
|
||||
// clang-format off
|
||||
|
||||
float __math_xflowf(uint32_t sign, float y)
|
||||
dontinstrument float __math_xflowf(uint32_t sign, float y)
|
||||
{
|
||||
return eval_as_float(fp_barrierf(sign ? -y : y) * y);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue