Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions test/sql/parity/026b_tnumber_mathfuncs_followups.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,24 @@

require mobilityduck

# Unary tfloat math: ln(e) ≈ 1, log10(100) = 2, exp(0) = 1
# Unary tfloat math: ln(e) ≈ 1, log10(100) = 2, exp(0) = 1.
# Each lift inserts one chord-error-minimising turning point on the linear
# input segment, so the result has three instants where the input had two.

query I
SELECT round(ln(tfloat '[1@2000-01-01, 2.71828182845905@2000-01-02]'), 6);
----
[0@2000-01-01 00:00:00+01, 1@2000-01-02 00:00:00+01]
[0@2000-01-01 00:00:00+01, 0.541325@2000-01-01 10:01:57.212526+01, 1@2000-01-02 00:00:00+01]

query I
SELECT log10(tfloat '[1@2000-01-01, 100@2000-01-02]');
----
[0@2000-01-01 00:00:00+01, 2@2000-01-02 00:00:00+01]
[0@2000-01-01 00:00:00+01, 1.332389510222689@2000-01-01 04:58:08.794345+01, 2@2000-01-02 00:00:00+01]

query I
SELECT round(exp(tfloat '[0@2000-01-01, 1@2000-01-02]'), 6);
----
[1@2000-01-01 00:00:00+01, 2.718282@2000-01-02 00:00:00+01]
[1@2000-01-01 00:00:00+01, 1.718282@2000-01-01 12:59:30.467438+01, 2.718282@2000-01-02 00:00:00+01]

# deltaValue — successive differences

Expand Down
6 changes: 3 additions & 3 deletions vcpkg_ports/meos/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO MobilityDB/MobilityDB
REF 2c4243a265
SHA512 36d88c3a925d8c38a540c651fa74d127565985bcad79191344f2e93cb0de54e8f8efb84ef308595f8c4c122f1047e6b9d9696cff47bbc56ae9d0b4b807c7ab02
REPO estebanzimanyi/MobilityDB
REF a8178dc9d56d841d0eb5025a7e8717c8d25a1d0f
SHA512 030a144bb3247695702dd2de11f4c389ed28c6eb0186e6988a489e2b00e9801179ba8f27bcbcd81ae89e398a7277ed7f9ff7058dbf15f5db322ae4644365c560
)

vcpkg_replace_string(
Expand Down
Loading