(number->string (exact->inexact (/ 1 10000)))
"1e-4"
(number->string (/ 1 10000))
"1/10000"
The same with other similar values such as 0.00085 .
Afficher les réponses par date
Try Alex Shinn's fmt:
http://synthcode.com/scheme/fmt/
Brad
On May 1, 2013, at 8:17 AM, Mikael mikael.rcv@gmail.com wrote:
(number->string (exact->inexact (/ 1 10000)))
"1e-4"
(number->string (/ 1 10000))
"1/10000"
The same with other similar values such as 0.00085 .
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Do you see reasons to believe that fmt will perform well on Gambit, out of the box?
Tara has a Black Hole port she'll send soon btw. Do you have a Gambit port?
2013/5/1 Bradley Lucier lucier@math.purdue.edu
Try Alex Shinn's fmt:
http://synthcode.com/scheme/fmt/
Brad
On May 1, 2013, at 8:17 AM, Mikael mikael.rcv@gmail.com wrote:
(number->string (exact->inexact (/ 1 10000)))
"1e-4"
(number->string (/ 1 10000))
"1/10000"
The same with other similar values such as 0.00085 .
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Alex is a very good programmer (don't tell him I said that), so my guess is that it will work well out of the box.
Brad
On May 1, 2013, at 9:03 AM, Mikael wrote:
Do you see reasons to believe that fmt will perform well on Gambit, out of the box?
Tara has a Black Hole port she'll send soon btw. Do you have a Gambit port?
2013/5/1 Bradley Lucier lucier@math.purdue.edu Try Alex Shinn's fmt:
http://synthcode.com/scheme/fmt/
Brad
On May 1, 2013, at 8:17 AM, Mikael mikael.rcv@gmail.com wrote:
(number->string (exact->inexact (/ 1 10000)))
"1e-4"
(number->string (/ 1 10000))
"1/10000"
The same with other similar values such as 0.00085 .
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list