Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/georust/geographiclib-rs

A port of geographiclib in Rust.
https://github.com/georust/geographiclib-rs

prepare for 0.2.4 release

443916b4513d70bd49a9f0ad273bf0c9a4da1184 authored 11 months ago by Michael Kirk <[email protected]>
Merge pull request #61 from georust/mkirk/sincosd-perf

use libm remquo and copysign for a little speedup

42ced392d2325b88a811df5bf9fec507adc00dfc authored 11 months ago by Michael Kirk <[email protected]>
fixup! use libm remquo and copysign for a little speedup

Without the change, we see sign failures like:

cosx(-810) = 0, but got -0

a2c65f4e7c9933792dff843dc4ee28db92395aab authored 11 months ago by Michael Kirk <[email protected]>
use built in `copysign`

ac380b1bfedcd92e682d3e277761499d7552c66f authored 11 months ago by Michael Kirk <[email protected]>
use libm remquo and copysign for a little speedup

This makes our implement of sincosd look more like the cpp version.

$ cargo bench --bench="...

8b62a2bd8c1e44db401ed4ec04d4f9fbf7674e63 authored 11 months ago by Michael Kirk <[email protected]>
Use faster loop iter (despite clippy's advice)

$ cargo bench --bench="*" rust -- --baseline=main-2024-01-25
direct (rust impl)/default...

4891fc4e2ac69cd1344a39b22a59684ca6fd136c authored 11 months ago by Michael Kirk <[email protected]>
Merge branch 'mkirk/usize'

9f2b3b930d92a3d2b28db7e744c48c02395e74aa authored 11 months ago by Michael Kirk <[email protected]>
cargo fmt

cf92d96e04d04aee710977c5e92e89cd368b6ce2 authored 11 months ago by Michael Kirk <[email protected]>
Standardized to usize

Remove instances of i64 & isize when indexing, standardized on usize

31958122be206ad41bb6bdb2bcc9a5ee427efb77 authored 11 months ago by wcl <[email protected]>
remove unnecessary casts

b8014fe7502937b924fbfeb1b54a1f634ac48aee authored 11 months ago by Michael Kirk <[email protected]>
ignore clippy warnings that are hurting perf

a9b8f921a543e84a39c8ed16b06c58fe59e1fe95 authored 11 months ago by Michael Kirk <[email protected]>
run ci on forks

85e19391b4dac92383929600dee758108a89810b authored 11 months ago by Michael Kirk <[email protected]>
Merge pull request #55: include example

c4de165b4a1f71684943067528f47d9548c15337 authored 11 months ago by Michael Kirk <[email protected]>
make clippy happy

43a1febc531d39f87f1bcbc28579338737b63552 authored 11 months ago by Michael Kirk <[email protected]>
include example

36c00d96ff23c073df4cdf77747d5dad36c22c6b authored 11 months ago by Michael Kirk <[email protected]>
Merge pull request #52 from georust/oncelcok

Replace `lazy_static` dependency with `sync::OnceLock`.

766915da9ddc816702ad3255658a0c44f6653363 authored about 1 year ago by Michael Kirk <[email protected]>
Replace `lazy_static` dependency with `sync::OnceLock`.

f8d9f98c689ac18f48c766b9214decdbbfeba86b authored about 1 year ago by Corey Farwell <[email protected]>
clippy fixes

01f89f978d17270debcde3c7c19e6c33170f623a authored about 1 year ago by Michael Kirk <[email protected]>
prepare for 0.2.3. release

ff1033b2309e2afb40370ddcd5e9613f0ca5e2d2 authored almost 2 years ago by Michael Kirk <[email protected]>
Merge #50

50: Clippy, formatting, and minor fixes r=michaelkirk a=michaelkirk

- [x] I agree to follow the...

772157cc6acf26dcbbcaef288a0fb800df540ed7 authored almost 2 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
also test CI with --no-default-features

d980a94f02be478547eb21f1964d1935387c79ba authored almost 2 years ago by Michael Kirk <[email protected]>
bump tolerance on unit test.

This is an old test from way back in the porting process. I haven't
found any reference to this ...

23a3d57937114f5146afd40febd3fc915b7c9ae8 authored almost 2 years ago by Michael Kirk <[email protected]>
allow excessive precision in float declarations, since they are copied from (and thus easily comparable with) upstream

49b76addb51299b30921f7a7c45b3d2c23ab031f authored almost 2 years ago by Michael Kirk <[email protected]>
CI linting is separate step, install missing components

Also uses "latest stable" rust rather than pinning to a specific
version.

24aaf6c83866aaaef853911330d9963c78679217 authored almost 2 years ago by Michael Kirk <[email protected]>
CI checks formatting

78d54cfb6b7bc7cf50db9cc33ba5b44730e560f7 authored almost 2 years ago by Michael Kirk <[email protected]>
cargo fmt

1a04e4679943f447ca3e2217669c84fbf24a0463 authored almost 2 years ago by Michael Kirk <[email protected]>
CI checks clippy

8acf6a5756023b57d314f9eec69d407a95689554 authored almost 2 years ago by Michael Kirk <[email protected]>
ignore some clippy warnings that we often intentionally fall afoul of

cbf3ea9fce8bc8073f2b59631d27742a8ab709b3 authored almost 2 years ago by Michael Kirk <[email protected]>
rename modules per idiomatic rust

Note there is no public change here - the modules are all private,
except for geodesic_capabilit...

140b23c42b1cb89885b5405b5291e4149428c92d authored almost 2 years ago by Michael Kirk <[email protected]>
clippy: remove unnecessary syntax

a1080863c6122fa39fedde8abcda11bc393c4d49 authored almost 2 years ago by Michael Kirk <[email protected]>
clippy: fix unnecessary casting to same type

59fc13bfd9bde903516feafe7ba3e15a7c8d2fbe authored almost 2 years ago by Michael Kirk <[email protected]>
Merge #49

49: Adding PolygonArea for calculating the perimeter and area of a polygon on a Geodesic r=phaye...

157de8914524a4223056771a54a2b4d1c0ebfe1b authored almost 2 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Changing epsilon for a few failing tests

d223d4dd3f54b88b62fe2e156a874e89279afa57 authored almost 2 years ago by Patrick Hayes <[email protected]>
Merge branch 'main' of github.com:phayes/geographiclib-rs

02fdc0871c0eb54492bbd5a59a6cf7d32868a61a authored almost 2 years ago by Patrick Hayes <[email protected]>
Fixing several issues as per comments

08a90973d5f1ba9c7ec6a7ea7e06070ccefca042 authored almost 2 years ago by Patrick Hayes <[email protected]>
Update src/polygonarea.rs

Co-authored-by: Michael Kirk <[email protected]>

b70a8d7ca35e9213987397d30fb6588c4febf69b authored almost 2 years ago by Patrick Hayes <[email protected]>
Making winding copy

12e46802c54afc881f8363fb6f8e570c0e596983 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding more documentation to winding, also adding Default impl

00b305ddcbc8c867e46a350299d95158d6715482 authored almost 2 years ago by Patrick Hayes <[email protected]>
Fixing typo

01184e1cc432f38462a89bc8ad6a45c7d4fca5b6 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding missing assert from planimeter19

d6626f6e4a2d240bef22b21c8b2b50f38bee9087 authored almost 2 years ago by Patrick Hayes <[email protected]>
Fixing add_edge and other misc issues due to wrong mask being used

415e2ff3827b659fd39bb31ad79f9ff9ef19d7b7 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding source for test_planimeter29

1aad1ece42f333da26bbb3f7ff172316c7f4c223 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding more tests

f5c54b3789fff1ec74bed0cc7642fadde22460c0 authored almost 2 years ago by Patrick Hayes <[email protected]>
Using definite refs instead of main branch

170db6acf5633470663053d1473bdc0ea42ad748 authored almost 2 years ago by Patrick Hayes <[email protected]>
Fixing example code

1cf7fa04007c18b685d1e7b03c1b022eae3d0dab authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding support for param

de8b5662d68b2ce503a784d3c78fdc822a1883ac authored almost 2 years ago by Patrick Hayes <[email protected]>
Returning number of points in the polygon

1f5fd6e5e86c71bc2d19ac471639ff6a1c579171 authored almost 2 years ago by Patrick Hayes <[email protected]>
Update src/polygonarea.rs

Co-authored-by: Michael Kirk <[email protected]>

fea47590b34083735da199289fac45c35bb75be9 authored almost 2 years ago by Patrick Hayes <[email protected]>
Note addition of accurate feature in change log

4ee3077980669f7aa4589a3c4ded8b3cac19cb53 authored almost 2 years ago by Patrick Hayes <[email protected]>
Improve documentation

055dc2132032cbfb6cfda3bdbd54862d25c9b976 authored almost 2 years ago by Patrick Hayes <[email protected]>
Fixing issue with transits on add_edge, adding more tests

a8415b6757bd6b6f74dc9fed62816930f81c359e authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding geodesic.area() and adding documentation on interpreting negative values

d9a42e06f0a65cc1ecc628ebe309823f251dce8a authored almost 2 years ago by Patrick Hayes <[email protected]>
Removing redundent comment

a9b871d02c9ba747dfbd0179383f01cd2a90de6b authored almost 2 years ago by Patrick Hayes <[email protected]>
Fixing typo

3fc8b9e4f2198c2ba595a2006d5b15a391db7e83 authored almost 2 years ago by Patrick Hayes <[email protected]>
Improving documentation

a8abfd649bf57b9b0ebe22c893283e97b53065ab authored almost 2 years ago by Patrick Hayes <[email protected]>
Improving readme

ebafdb2f5e0d5118c31122b6893130727716afb8 authored almost 2 years ago by Patrick Hayes <[email protected]>
Removing dbg

57592a84aadd9268788d51fc0896bbef7523e1ee authored almost 2 years ago by Patrick Hayes <[email protected]>
adding test_planimeter29

04231423e13b13b9a3489ba4077819ded6d953a6 authored almost 2 years ago by Patrick Hayes <[email protected]>
Filling out test_planimeter6

80f707a24ccdeb7bcd5be09912be442d2df3a1bf authored almost 2 years ago by Patrick Hayes <[email protected]>
Tests now pass

712d3000d068858728b00362d9f5b3a327233f87 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding docs to Winding enum

5dd3eb2418a7a2aa785c139ff73a2fae0ed01c42 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding tests

e476cb3a090c4d3cabe0ef3758f6239fc09a46bc authored almost 2 years ago by Patrick Hayes <[email protected]>
Making accurate enabled by default, adding winding and handling meridian transits

64e8520f766e473c1caf0a1526417367875f4b2a authored almost 2 years ago by Patrick Hayes <[email protected]>
Removing empty accumulator.rs, using crate instead

d5f179f3cd09539024527e8a18f068d4f83ddc01 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding as an optional dependency

f41c48f63a47a35c6c90bbf8b3f292a2b1811868 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding documentation to PolygonArea::new()

3fecee9d93369c9d58b0929ce7e59e4d94d84e85 authored almost 2 years ago by Patrick Hayes <[email protected]>
Moving PolygonArea to the root of the crate

9369e7ce0936d9232887378e37e2badd0a5c45c0 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding entry for PolygonArea to CHANGES.md

4c8d25a69bcc984ef531ae5906efba71e23cde52 authored almost 2 years ago by Patrick Hayes <[email protected]>
Adding PolygonArea for calculating the perimeter and area of a polygon on a Geodesic

054811e9e0663a7396e4edfddb81c8a6965f4114 authored almost 2 years ago by Patrick Hayes <[email protected]>
Merge branch 'release/0.2.2'

0b293e4d2cc0f42d59db06a93624c0ef6c6fe69b authored almost 2 years ago by Michael Kirk <[email protected]>
prepare for 0.2.2 release

5717fa4a71c4ce8c2defc219d8eb92158e2b8c97 authored almost 2 years ago by Michael Kirk <[email protected]>
update criterion

28548ddad78bb2adc12a2e6f07b8f77a3728f27b authored almost 2 years ago by Michael Kirk <[email protected]>
Update CI container

c94193e2a32f56452d9bf031db72bef07035b14e authored almost 2 years ago by Michael Kirk <[email protected]>
Update CI checkout action.

The old one has been deprecated:

> Node.js 12 actions are deprecated. For more information see:...

1a50565b1b9ef1f743658232eb3566bf64799693 authored almost 2 years ago by Michael Kirk <[email protected]>
Resolve clippy warnings and errors (#45)

* apply clippy: mark dead_code as unused

* apply rustfmt to files

* apply clippy: replace ...

1358b1320c6152761bc0f45ca67b96111c4eac93 authored over 2 years ago by Jakub Lewandowski <[email protected]>
prepare for 0.2.1 release

413ae7f43aadb39449cd6a165a16b0ffe1f10a62 authored over 2 years ago by Michael Kirk <[email protected]>
Merge branch 'mkirk/approx'

405db6f01d73b247a572aacf5325865ae14b73d0 authored over 2 years ago by Michael Kirk <[email protected]>
slacken some tolerances to pass tests

621a6caf5c1b3f63188d77ce3bdef2e086e2904a authored over 2 years ago by Michael Kirk <[email protected]>
use approx::relative_eq

676c26bbd1b51492fdddb069a78425dfb6955a85 authored over 2 years ago by Michael Kirk <[email protected]>
Merge #41

41: #30 part: geodtest inverse12 S12 r=michaelkirk a=stonylohr

Assorted fixes.
Added test exce...

0912caf77af0956109168e8ad5e56313829f4c3b authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
#30 part: geodtest inverse12 S12

Assorted fixes.
Added test exception for GeodTest.dat line 400001 inverse12, which Karney's code ...

76af3c67d03e0a8a8721791b8e4a84c76a593e14 authored almost 4 years ago by Stony <[email protected]>
Merge #40

40: fix #20 test_arcdirect r=michaelkirk a=stonylohr

Short version: At this point, it just need...

4e717d909a4882324fe67f3f191566f79fc1ed05 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Unignore test_arcdirect

bbedc736b6444aeb8b8e2cc674d66c6a6f9401c0 authored almost 4 years ago by Stony <[email protected]>
Merge #39

39: Address #6: polyval r=michaelkirk a=stonylohr

Slightly different from my original proposal....

0531c8415c6a4dc2936f29e11cbfcd94fe37e113 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Address #6: polyval.

Slightly different from my original proposal.

6fe6f60f26c8ffb440534fdb1eec1f346afdfaac authored almost 4 years ago by Stony <[email protected]>
Merge #38

38: fix #25: geodsolve29. r=michaelkirk a=stonylohr

Test was using wrong ellipsoid, due to copy...

d4162ada24d9c6eb40b9b875dcf89ff67fe7f210 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
compare full bench time

27a184d97eafe1fa695f47e5eac9a07e4ae789c1 authored almost 4 years ago by Michael Kirk <[email protected]>
Merge #37

37: Address #36: geomath::norm r=michaelkirk a=stonylohr

Changed from fn norm(f64, f64) -> (f64...

23b763a6b0b78db470dde4f6dcb485399fd7df19 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
fix #25: geodsolve29.

Test was using wrong ellipsoid.

b3daf4d0bcecb13f259d08df7c0e5626bc19adc5 authored almost 4 years ago by Stony <[email protected]>
cargo fmt

5015a461f09e9649c5cc86fea781076f050ba3b4 authored almost 4 years ago by Michael Kirk <[email protected]>
Run the benchmarks, even though the results are probably garbage.

I'm curious to see how stable they are...

e5e636cf68abc4f091c9675b9ab7f759ad76226e authored almost 4 years ago by Michael Kirk <[email protected]>
Build benchmarks in CI.

Primarily, I want to make sure we don't break the benchmarks
accidentally.

We could just do `ca...

41356b194718baccf89b65f20026188b9ef279d0 authored almost 4 years ago by Michael Kirk <[email protected]>
Merge #35

35: Fix #24: geodsolve28 r=michaelkirk a=stonylohr

Also updated and enabled some geodtest cases...

c0c54467938e129ad5ebab0aeae5112a9a05edb8 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Address #36: geomath::norm

4c55cbac68cd662f3559cb11b5f4bc31526a23b7 authored almost 4 years ago by Stony <[email protected]>
Fix #24: geodsolve28.

Also updated and enabled some geodtest cases related to GeodesicLine position.
Fixes improve beha...

ba068189a2617fae9be7eb4add3fefe7658edacb authored almost 4 years ago by Stony <[email protected]>
Merge #34

34: Fix #22 and #23: geodsolve15 and geodsolve26 r=michaelkirk a=stonylohr

Changed _c2 calculat...

78204e7e9fc6adcbbc08f2e7e15504bd09639ffa authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fix #22 and #23: geodsolve15 and geodsolve26.

Changed _c2 calculation to match cpp approach, addressing a problem for the case for f <= 0.
It's...

4eba2cb8844d242904a8b506adbae540c43bee32 authored almost 4 years ago by Stony <[email protected]>
Merge #33

33: fix #26: geodsolve76. bug in test itself r=michaelkirk a=stonylohr

- [ ] I agree to follow ...

7d44c5b2a565ab33bbf44cff0f1c24e4044c1c7d authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
fix #21 and #78: geodsolve2 and geodsolve78 were calling wrong inverse variant

a6c71716935a3d6f2f75f846d5f23f31e0e6ef02 authored almost 4 years ago by Stony <[email protected]>
fix #26: geodsolve76. bug in test itself

94de156850d4f019b99f1dee260c541cc06b79fd authored almost 4 years ago by Stony <[email protected]>