mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-23 22:44:58 +02:00
2ccf326837
This project introduces the prob_distr.c subsystem which implements all the probability distributions that WTF-PAD needs. It also adds unittests for all of them. Code and tests courtesy of Riastradh. Co-authored-by: Taylor R Campbell <campbell+tor@mumble.net> Co-authored-by: Mike Perry <mikeperry-git@torproject.org>
23 lines
556 B
Plaintext
23 lines
556 B
Plaintext
|
|
noinst_LIBRARIES += src/lib/libtor-math.a
|
|
|
|
if UNITTESTS_ENABLED
|
|
noinst_LIBRARIES += src/lib/libtor-math-testing.a
|
|
endif
|
|
|
|
src_lib_libtor_math_a_SOURCES = \
|
|
src/lib/math/fp.c \
|
|
src/lib/math/laplace.c \
|
|
src/lib/math/prob_distr.c
|
|
|
|
|
|
src_lib_libtor_math_testing_a_SOURCES = \
|
|
$(src_lib_libtor_math_a_SOURCES)
|
|
src_lib_libtor_math_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
|
src_lib_libtor_math_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|
|
|
noinst_HEADERS += \
|
|
src/lib/math/fp.h \
|
|
src/lib/math/laplace.h \
|
|
src/lib/math/prob_distr.h
|