• Home
  • Raw
  • Download

Lines Matching refs:g

205 -- 'g' code formatting.
208 %.0g 0 -> 0
209 %.1g 0 -> 0
210 %.2g 0 -> 0
211 %.3g 0 -> 0
212 %.4g 0 -> 0
213 %.10g 0 -> 0
214 %.50g 0 -> 0
215 %.100g 0 -> 0
217 -- precision 0 doesn't make a lot of sense for the 'g' code (what does
220 %.0g 1000 -> 1e+03
221 %.0g 100 -> 1e+02
222 %.0g 10 -> 1e+01
223 %.0g 1 -> 1
224 %.0g 0.1 -> 0.1
225 %.0g 0.01 -> 0.01
226 %.0g 1e-3 -> 0.001
227 %.0g 1e-4 -> 0.0001
228 %.0g 1e-5 -> 1e-05
229 %.0g 1e-6 -> 1e-06
230 %.0g 12 -> 1e+01
231 %.0g 120 -> 1e+02
232 %.0g 1.2 -> 1
233 %.0g 0.12 -> 0.1
234 %.0g 0.012 -> 0.01
235 %.0g 0.0012 -> 0.001
236 %.0g 0.00012 -> 0.0001
237 %.0g 0.000012 -> 1e-05
238 %.0g 0.0000012 -> 1e-06
241 %.1g 1000 -> 1e+03
242 %.1g 100 -> 1e+02
243 %.1g 10 -> 1e+01
244 %.1g 1 -> 1
245 %.1g 0.1 -> 0.1
246 %.1g 0.01 -> 0.01
247 %.1g 1e-3 -> 0.001
248 %.1g 1e-4 -> 0.0001
249 %.1g 1e-5 -> 1e-05
250 %.1g 1e-6 -> 1e-06
251 %.1g 12 -> 1e+01
252 %.1g 120 -> 1e+02
253 %.1g 1.2 -> 1
254 %.1g 0.12 -> 0.1
255 %.1g 0.012 -> 0.01
256 %.1g 0.0012 -> 0.001
257 %.1g 0.00012 -> 0.0001
258 %.1g 0.000012 -> 1e-05
259 %.1g 0.0000012 -> 1e-06
262 %.2g 1000 -> 1e+03
263 %.2g 100 -> 1e+02
264 %.2g 10 -> 10
265 %.2g 1 -> 1
266 %.2g 0.1 -> 0.1
267 %.2g 0.01 -> 0.01
268 %.2g 0.001 -> 0.001
269 %.2g 1e-4 -> 0.0001
270 %.2g 1e-5 -> 1e-05
271 %.2g 1e-6 -> 1e-06
272 %.2g 1234 -> 1.2e+03
273 %.2g 123 -> 1.2e+02
274 %.2g 12.3 -> 12
275 %.2g 1.23 -> 1.2
276 %.2g 0.123 -> 0.12
277 %.2g 0.0123 -> 0.012
278 %.2g 0.00123 -> 0.0012
279 %.2g 0.000123 -> 0.00012
280 %.2g 0.0000123 -> 1.2e-05
283 %.12g 38210.0 -> 38210
284 %.12g 37210.0 -> 37210
285 %.12g 36210.0 -> 36210
287 -- alternate g formatting: always include decimal point and
289 %#.0g 0 -> 0.
290 %#.1g 0 -> 0.
291 %#.2g 0 -> 0.0
292 %#.3g 0 -> 0.00
293 %#.4g 0 -> 0.000
295 %#.0g 0.2 -> 0.2
296 %#.1g 0.2 -> 0.2
297 %#.2g 0.2 -> 0.20
298 %#.3g 0.2 -> 0.200
299 %#.4g 0.2 -> 0.2000
300 %#.10g 0.2 -> 0.2000000000
302 %#.0g 2 -> 2.
303 %#.1g 2 -> 2.
304 %#.2g 2 -> 2.0
305 %#.3g 2 -> 2.00
306 %#.4g 2 -> 2.000
308 %#.0g 20 -> 2.e+01
309 %#.1g 20 -> 2.e+01
310 %#.2g 20 -> 20.
311 %#.3g 20 -> 20.0
312 %#.4g 20 -> 20.00
314 %#.0g 234.56 -> 2.e+02
315 %#.1g 234.56 -> 2.e+02
316 %#.2g 234.56 -> 2.3e+02
317 %#.3g 234.56 -> 235.
318 %#.4g 234.56 -> 234.6
319 %#.5g 234.56 -> 234.56
320 %#.6g 234.56 -> 234.560