-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
45 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ tmp | |
\#*# | ||
*.install | ||
*.native | ||
*.byte | ||
*.byte | ||
.merlin | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
opam-version: "1.2" | ||
opam-version: "2.0" | ||
maintainer: "Marshall Roch <[email protected]>" | ||
authors: ["Marshall Roch <[email protected]>"] | ||
authors: "Marshall Roch <[email protected]>" | ||
license: "MIT" | ||
homepage: "https://github.com/flowtype/ocaml-dtoa" | ||
doc: "https://github.com/flowtype/ocaml-dtoa" | ||
license: "MIT" | ||
dev-repo: "https://github.com/flowtype/ocaml-dtoa.git" | ||
bug-reports: "https://github.com/flowtype/ocaml-dtoa/issues" | ||
tags: [] | ||
available: [ ocaml-version >= "4.01.0"] | ||
depends: | ||
[ | ||
"jbuilder" {build & >= "1.0+beta7"} | ||
"ounit" {test & >= "2.0.0"} | ||
depends: [ | ||
"ocaml" {>= "4.01.0"} | ||
"dune" {build & >= "1.0"} | ||
"ounit" {with-test & >= "2.0.0"} | ||
] | ||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
depopts: [] | ||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
dev-repo: "git+https://github.com/flowtype/ocaml-dtoa.git" | ||
synopsis: "Converts OCaml floats into strings (doubles to ascii, 'd to a'), using the efficient Grisu3 algorithm" | ||
description: """ | ||
This is a (partial) port of Google's double-conversion library from C++ to C. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 1.0) | ||
(name dtoa) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
(library | ||
(name dtoa) | ||
(public_name dtoa) | ||
(c_names bignum bignum_dtoa cached_powers diy_fp dtoa_stubs ieee fast_dtoa) | ||
(c_flags -std=c99 -g -Wall -Wshadow -Werror -Wextra -Wshadow | ||
-Wno-unused-parameter) | ||
(js_of_ocaml | ||
(javascript_files ../js/dtoa_stubs.js))) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(executable | ||
(name test) | ||
(libraries dtoa oUnit)) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< test.exe)) | ||
(action | ||
(run %{<}))) |
This file was deleted.
Oops, something went wrong.