Skip to content

Commit

Permalink
chore(stdlib): Convert all relative filepath includes to module inclu…
Browse files Browse the repository at this point in the history
…des (#2059)
  • Loading branch information
phated committed Mar 4, 2024
1 parent 5c79c84 commit 8474548
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion stdlib/runtime/atof/common.gr
Expand Up @@ -36,7 +36,7 @@ from "runtime/dataStructures" include DataStructures
use DataStructures.{ newInt32, newInt64, newFloat64 }
from "runtime/numberUtils" include NumberUtils
use NumberUtils.{ get_POWERS10 }
from "./table.gr" include Table
from "runtime/atof/table" include Table
use Table.{ get_F64_POWERS10_FAST_PATH, get_POWERS5 }

primitive (&&) = "@and"
Expand Down
2 changes: 1 addition & 1 deletion stdlib/runtime/atof/decimal.gr
Expand Up @@ -35,7 +35,7 @@ from "runtime/unsafe/memory" include Memory
from "runtime/dataStructures" include DataStructures
use DataStructures.{ newInt32, allocateBytes }

from "./common.gr" include Common
from "runtime/atof/common" include Common
use Common.{
_CHAR_CODE_UNDERSCORE,
_CHAR_CODE_PLUS,
Expand Down
4 changes: 2 additions & 2 deletions stdlib/runtime/atof/lemire.gr
Expand Up @@ -34,10 +34,10 @@ from "runtime/unsafe/wasmi64" include WasmI64

from "runtime/dataStructures" include DataStructures
use DataStructures.{ newInt32, newInt64, newFloat64 }
from "./table.gr" include Table
from "runtime/atof/table" include Table
use Table.{ get_POWERS5 }

from "./common.gr" include Common
from "runtime/atof/common" include Common
use Common.{
_SMALLEST_POWER_OF_FIVE,
_LARGEST_POWER_OF_FIVE,
Expand Down
6 changes: 3 additions & 3 deletions stdlib/runtime/atof/parse.gr
Expand Up @@ -34,7 +34,7 @@ from "runtime/unsafe/wasmf64" include WasmF64
from "runtime/dataStructures" include DataStructures
use DataStructures.{ newInt32, newInt64, newFloat64 }

from "./common.gr" include Common
from "runtime/atof/common" include Common
use Common.{
_CHAR_CODE_UNDERSCORE,
_CHAR_CODE_PLUS,
Expand Down Expand Up @@ -63,9 +63,9 @@ use Common.{
fpInf,
}

from "./lemire.gr" include Lemire
from "runtime/atof/lemire" include Lemire
use Lemire.{ computeFloat }
from "./slow.gr" include Slow
from "runtime/atof/slow" include Slow
use Slow.{ parseLongMantissa }

// Try to parse 8 digits at a time:
Expand Down
4 changes: 2 additions & 2 deletions stdlib/runtime/atof/slow.gr
Expand Up @@ -36,7 +36,7 @@ from "runtime/unsafe/memory" include Memory
from "runtime/dataStructures" include DataStructures
use DataStructures.{ newInt32, newInt64 }

from "./common.gr" include Common
from "runtime/atof/common" include Common
use Common.{
type BiasedFp,
fpZero,
Expand All @@ -47,7 +47,7 @@ use Common.{
_MANTISSA_EXPLICIT_BITS_32,
_MANTISSA_EXPLICIT_BITS_64,
}
from "./decimal.gr" include Decimal
from "runtime/atof/decimal" include Decimal
use Decimal.{ parseDecimal, _DECIMAL_POINT_RANGE }

@unsafe
Expand Down

0 comments on commit 8474548

Please sign in to comment.