--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/EF2F8029-2AE6-46BB-8D2A-D92A7E0DC5BC%40icloud.com.
The errors are never more than 1 ULP in either direction, and the round trip is lossless for about 89% of all input values. There is also a big swath of values in the center that is free of ULP errors… posits with bit strings that look like 12287 to 22316 as integers, representing values ~0.49994 to ~0.28965.
Now try it for IEEE 754 Standard 16- bit floats. The tested inputs look like integers 1 to 31743, which is all the floats that represent finite positive values:
--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/EF2F8029-2AE6-46BB-8D2A-D92A7E0DC5BC%40icloud.com.
Only about 33% of the values make the round trip correctly, and the errors are as much as ±5 ULPS.
We shouldn't expect this big a contrast for round trip experiments in general, and floats may perform better than posits for some function-inverse function compositions. Still, the qualitative difference between the two plots above is pretty jaw-dropping.
I just tried it for y=ln(x) and x'=e^y and the plots were quite similar. Posits were again lossless in 89% of the cases, but there were a few large inputs that were off by as much as 2 ULPs:
--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/EF2F8029-2AE6-46BB-8D2A-D92A7E0DC5BC%40icloud.com.
Floats got worse as well, off by as much as 8 ULPs:
--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/EF2F8029-2AE6-46BB-8D2A-D92A7E0DC5BC%40icloud.com.
John G.
--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/EF2F8029-2AE6-46BB-8D2A-D92A7E0DC5BC%40icloud.com.