Skip to content

Commit 5c7e856

Browse files
committed
use DoubleFloats.jl package
1 parent 833ff6e commit 5c7e856

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ version = "0.5.1-dev"
66
[deps]
77
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
88
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
9+
DoubleFloats = "497a8b3b-efae-58df-a0af-a86822472b78"
910
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1011
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1112
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -21,6 +22,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
2122
[compat]
2223
Colors = "0.12, 0.11, 0.10"
2324
DataFrames = "0.22, 0.21, 0.20, 0.19"
25+
DoubleFloats = "1.1"
2426
JSON = "0.21"
2527
ModiaLang = "0.8.1"
2628
OrderedCollections = "1.4, 1.3, 1.2, 1.1"

src/Modia3D.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ convertAndStripUnit(TargetType, requiredUnit, value) =
9696
convert(TargetType, ustrip.( uconvert.(requiredUnit, value))) : convert(TargetType, value)
9797

9898
# MPRFloatType is used to change betweeen Double64 and Float64 for mpr calculations
99+
using DoubleFloats
99100
const MPRFloatType = Float64
100101

101102
# Include sub-modules

0 commit comments

Comments
 (0)