chiark
/
gitweb
/
~ryounger
/
brot2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1e5eeb0
)
Add float maths type
author
Ross Younger
<onyx-commits@impropriety.org.uk>
Sun, 27 Jan 2013 04:52:58 +0000 (17:52 +1300)
committer
Ross Younger
<onyx-commits@impropriety.org.uk>
Sun, 27 Jan 2013 05:29:38 +0000 (18:29 +1300)
libfractal/Fractal.h
patch
|
blob
|
history
diff --git
a/libfractal/Fractal.h
b/libfractal/Fractal.h
index
ae004c9
..
8f83955
100644
(file)
--- a/
libfractal/Fractal.h
+++ b/
libfractal/Fractal.h
@@
-45,6
+45,7
@@
typedef std::complex<Value> Point; // "complex fractal point"
#define ALL_MATHS_TYPES(_DO) \
_DO(double,Double,0.00000000000000044408920985006L /* 4.44e-16 */) \
_DO(long double, LongDouble, 0.0000000000000000002168404345L /* 2.16e-19 */) \
+ _DO(float, Float, 0.0000002384185791016) \
class Maths {