1. bigatom.e - added exponential format output specifier
- Posted by cargoan Dec 21, 2014
- 1115 views
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?
2. Re: bigatom.e - added exponential format output specifier
- Posted by _tom (admin) Dec 21, 2014
- 1095 views
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
3. Re: bigatom.e - added exponential format output specifier
- Posted by cargoan Dec 21, 2014
- 1084 views
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.
4. Re: bigatom.e - added exponential format output specifier
- Posted by cargoan Dec 21, 2014
- 1006 views
I uploaded to pastey and is not full displayed?
in The Archive, Can be in Spanish? I'll try.
5. Re: bigatom.e - added exponential format output specifier
- Posted by cargoan Dec 21, 2014
- 1092 views
uploaded in the archive, temporarily located at: http://www.RapidEuphoria.com/uploads/bigatom.zip
Please. Remove Pasteys (too big for pastey).
Thanks.
cargoan