Previous Page | Next Page
- by arbingordon at 7:20 PM EDT on August 28, 2009
- TO OVER 9000!!!!
- by Elven Spellmaker at 10:03 PM EDT on August 28, 2009
- And a half.
- by JILost at 1:31 AM EDT on August 29, 2009
- Billion.
- by SmartOne at 11:08 PM EDT on August 31, 2009
- Setting up a working Fortran environment inside eclipse is more difficult than learning the language itself.
- by Elven Spellmaker at 11:42 PM EDT on September 1, 2009
- Fortran is a lie.
- by hcs at 5:34 PM EDT on September 4, 2009
- I ordered a couple of CDs lately, a few of them came today.
Though I only ordered one copy of the new Metroid Metal album (Varia Suite), they sent two (each mailed separately on separate days).
Which is nothing too outstanding, mistakes happen.
I also got the Blip Festival 2008 live album today. Well, half of it. It's a two disc album and the double case only had one CD in it.
It was the conjunction of these two events that made me give up and go crazy.
- by Elven Spellmaker at 10:22 PM EDT on September 4, 2009
- Go crazy?
I thought a prerequisite to living in the centre of the earth was that you were crazy already...
Well, you learn something new everyday.
- by hcs at 10:39 AM EDT on September 9, 2009
- yes I'm goin' down to Cowtown
the cow's a friend to me
lives beneath the ocean
that's where I will be
beneath the waves
the waves
and that's where I will be
I'm gonna see the cow beneath the sea
- They Might Be Giants - Cowtown
- by SmartOne at 10:29 PM EDT on September 9, 2009
- In Fortran 90:
1/(10**1) = 0
This is understandable because 1 is an INTEGER, which means 1/10 is automatically casted to an INTEGER type before it's assigned to a REAL variable (not shown here.)
Solution:
1./(10**1) = .1
The decimal point after the constant 1 explicitly makes the result of the expression REAL.
However:
1./(10**2) = 9.99999978E-03
Obviously .00999999978 is an approximation of the expected result, .01.
Ah... http://www.math.hawaii.edu/lab/197/fortran/fort3.htm#base
That's annoying.
edited 10:47 PM EDT September 9, 2009
- by hcs at 11:18 PM EDT on September 9, 2009
- Hm, I thought Fortran was supposed to guarantee some number of digits of accuracy.
Previous Page | Next Page
Go to Page 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
Search this thread
Show all threads
Reply to this thread:
HCS Forum Index
Halley's Comet Software
forum source