discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] nlog10: do we consider "normalizes log10(x <= 0) to -


From: Marcus Müller
Subject: [Discuss-gnuradio] nlog10: do we consider "normalizes log10(x <= 0) to -18" as API?
Date: Mon, 20 Nov 2017 16:52:32 +0100

Hi Folks,

I was about to commit a PR VOLKizing nlog10 [1], but it struck me that
my processor (imho, correctly) says that log(0) == nan and log(-10) ==
nan.

Whereas the old nlog10 test case asserts that it's log_10(x<=0) == -18.

So, am I allowed to break that assertion for the greater mathematical
appropriateness and speed?

Best regards,
Marcus

[1]
https://github.com/marcusmueller/gnuradio/tree/blocks_volkized_nlog10

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]