1. bigatom.e - added exponential format output specifier

I added 'e' or 'E' to output format specifier for bigatom.

Example:

... 
560233624827041978623209002160990235304 
 1.234000e+23 
+1.234000e+23 
-1.234000E+23 
-1.234000e+23 
 1.234568e-23 
+1.234568E-23 
-1.234568e-23 
-1.234568E-23 
┌─────────────────────────────────────────────────────[domingo, 21 de diciembre 15:19 CET] 
├─[cargoan en ~cargoan/Documentos/Programación/Euphoria/bigatom-a1] 
└─[bash 4.3]──[$]: tail -n 10 bigatom.e 
 
   ba_printf(1, "%2.6eB\n",  ba_new(1.234e23)) 
   ba_printf(1, "%+2.6eB\n", ba_new(1.234e23)) 
   ba_printf(1, "%2.6EB\n",  ba_new(-1.234e23)) 
   ba_printf(1, "%+2.6eB\n", ba_new(-1.234e23)) 
   ba_printf(1, "%2.6eB\n",  ba_new(1.23456789e-23)) 
   ba_printf(1, "%+2.6EB\n", ba_new(1.23456789e-23)) 
   ba_printf(1, "%2.6eB\n",  ba_new(-1.23456789e-23)) 
   ba_printf(1, "%+2.6EB\n", ba_new(-1.23456789e-23)) 
end ifdef 
 

it's a very easy addition with bigatoms.

There would be no other way than by pastebin?

new topic     » topic index » view message » categorize

2. Re: bigatom.e - added exponential format output specifier

cargoan said...

There would be no other way than by pastebin?

The Misc Menu along the right hand side has:

  • the Pastey link with is "like" patebin, but part of the Forum.
  • you can also upload Euphoria code to the The Archive which contains many Euphoria examples.

_tom

new topic     » goto parent     » topic index » view message » categorize

3. Re: bigatom.e - added exponential format output specifier

_tom said...
cargoan said...

There would be no other way than by pastebin?

The Misc Menu along the right hand side has:

  • the Pastey link with is "like" patebin, but part of the Forum.
  • you can also upload Euphoria code to the The Archive which contains many Euphoria examples.

_tom

Already Pastey thought, but as it was big ... not dare, just in case for some reaction from someone.

Upload new version to Pastey.

Thanks.

new topic     » goto parent     » topic index » view message » categorize

4. Re: bigatom.e - added exponential format output specifier

I uploaded to pastey and is not full displayed?

in The Archive, Can be in Spanish? I'll try.

new topic     » goto parent     » topic index » view message » categorize

5. Re: bigatom.e - added exponential format output specifier

uploaded in the archive, temporarily located at: http://www.RapidEuphoria.com/uploads/bigatom.zip

Please. Remove Pasteys (too big for pastey).

Thanks.

cargoan

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu