aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-18 15:38:58 +0300
committerEugene Sandulenko2013-09-06 14:48:18 +0300
commitba93c8d0842f4b786e6bea2725cfd03e0e132d4c (patch)
tree950c68e1211cf0f2ea1ed4e13e29a42c096fbd62 /engines
parentd0c9392862484a07b360c69af5aab078ad9d4036 (diff)
downloadscummvm-rg350-ba93c8d0842f4b786e6bea2725cfd03e0e132d4c.tar.gz
scummvm-rg350-ba93c8d0842f4b786e6bea2725cfd03e0e132d4c.tar.bz2
scummvm-rg350-ba93c8d0842f4b786e6bea2725cfd03e0e132d4c.zip
FULLPIPE: Added links to articles with floating point structure description
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/utils.cpp b/engines/fullpipe/utils.cpp
index 6ca6a8e6b9..f6e19256c1 100644
--- a/engines/fullpipe/utils.cpp
+++ b/engines/fullpipe/utils.cpp
@@ -197,6 +197,9 @@ int MfcArchive::readCount() {
double MfcArchive::readDouble() {
// FIXME: This is utterly cruel and unportable
+ // Some articles on the matter:
+ // http://randomascii.wordpress.com/2013/02/07/float-precision-revisited-nine-digit-float-portability/
+ // http://randomascii.wordpress.com/2012/01/11/tricks-with-the-floating-point-format/
union {
struct {