Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(stdlib): Convert all relative filepath includes to module includes #2059

Merged
merged 1 commit into from Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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