File: deps.txt

package info (click to toggle)
nim 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,911,644 kB
  • sloc: sh: 24,603; ansic: 1,761; python: 1,492; makefile: 1,013; sql: 298; asm: 141; xml: 13
file content (14 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Dragonbox.nim and Schubfach.nim

"Dragonbox" is Nim's "float64 to string" algorithm.
"Schubfach" is Nim's "float32 to string" algorithm. These are based on

https://github.com/abolz/Drachennest/blob/master/src/dragonbox.cc
https://github.com/abolz/Drachennest/blob/master/src/schubfach_32.cc

commit e6714a39ad331b4489d0b6aaf3968635bff4eb5e

The `.cc` files were translated by c2nim via `--cpp --keepBodies --nep1`
and then modified to remove the unsafe code.

We used c2nim as of commit f0469c909d9e2e28d59687e394bf5ac862f561b6.