Home
last modified time | relevance | path

Searched refs:ulps (Results 1 – 5 of 5) sorted by relevance

/math/
A Dlibm-test-support.c620 FLOAT ulps = 0; in check_float_internal() local
1075 FLOAT ulps, ulpx, value; in check_ulp() local
1078 ulps = ulp (0x0.0p0); in check_ulp()
1085 ulps = ulp (LIT(1.0)); in check_ulp()
1095 ulps = ULPDIFF (value, 0); in check_ulp()
1097 if (ulps < (LIT(1.0) - ulpx) || ulps > (LIT(1.0) + ulpx)) in check_ulp()
1106 ulps = ULPDIFF (value, 10); in check_ulp()
1108 if (ulps < (LIT(1.0) - ulpx) || ulps > (LIT(1.0) + ulpx)) in check_ulp()
1115 ulps = ULPDIFF (value, 10); in check_ulp()
1117 if (ulps < (LIT(2.0) - ulpx) || ulps > (LIT(2.0) + ulpx)) in check_ulp()
[all …]
A DMakefile280 ulps-file = $(firstword $(wildcard $(sysdirs:%=%/libm-test-ulps)))
282 $(objpfx)libm-test-ulps.h: $(ulps-file) gen-libm-test.py
539 $(addprefix $(objpfx), $(libm-tests.o)): $(objpfx)libm-test-ulps.h
591 .PHONY: regen-ulps
593 run-regen-ulps = $(test-wrapper-env) \
597 regen-ulps: $(addprefix $(objpfx),$(libm-tests))
599 cp $(ulps-file) $(objpfx)libm-test-ulps; \
602 $(run-regen-ulps) -u -o $(objpfx); \
603 cat $(objpfx)ULPs >> $(objpfx)libm-test-ulps; \
607 -u $(objpfx)libm-test-ulps; \
[all …]
A DREADME.libm-test32 processing are "libm-test-<func>.c" and a file "libm-test-ulps.h" with
46 named "libm-test-ulps" in the platform specific sysdep directory (or
60 How can I generate "libm-test-ulps"?
63 To automatically generate a new "libm-test-ulps" run "make regen-ulps".
66 file as the machine's updated "libm-test-ulps" file. Copy "NewUlps" to
67 "libm-test-ulps" in the appropriate machine sysdep directory. Verify
70 To manually generate a new "libm-test-ulps" file, first remove "ULPs"
81 Copy "NewUlps" to "libm-test-ulps" in the appropriate machine sysdep
90 Contents of libm-test-ulps
93 Since libm-test-ulps can be generated automatically, just a few notes.
A Dgen-libm-test.py669 ulps = Ulps()
671 ulps.read(args.ulps_file)
676 ulps.write(args.ulps_output)
678 ulps.write_header(args.ulps_header)
A Dauto-libm-test-in5809 # the next values gave an error > 9 ulps with glibc-2.34 (flt-32)

Completed in 14 milliseconds