Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inconsistencies with degrees

See original GitHub issue

I stumbled over two ways degrees are handled that I’m not happy/comfortable with.

First: A minus sign turns them into radians.

This code

println((-1) * 45°);



I think this is a genuine bug and println(-45°); should actually return -45°.

Second: Degree mod degree returns radians.

The code

println(mod(456°, 360°));



I think this is more okay, but I would still expect to get degrees out of this calculation at first.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

strobelmcommented, Jul 28, 2022
kortenkampcommented, Jul 22, 2022

FYI: For Cinderella this is fixed in builds >2044.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Knowledge-Base Degrees of Inconsistency: Complexity and ...
In this paper, we provide a complexity analysis of fixed-domain non-entailment (NE) on Datalog programs for well-established families of ...
Read more >
Evaluating Top-k Queries with Inconsistency Degrees
We study the problem of augmenting relational tuples with inconsistency awareness and tackling top-k queries under a set of denial constraints ( ...
Read more >
Degrees of Inconsistency - Ladislav Kvasz - PhilPapers
Discontinuity of Cappings in the Recursively Enumerable Degrees and Strongly Nonbranching Degrees.Klaus Ambos-Spies & Ding Decheng - 1994 - Mathematical ...
Read more >
10 High-Profile People Whose Degrees Were Revoked
1. Gaming Olympics studies: In April 2012, Pál Schmitt resigned as president of Hungary a week after his doctorate was withdrawn by Semmelweis ......
Read more >
A Syntax-based approach to measuring the degree of ...
To address these two issues, we propose a normalized framework for measuring the degree of inconsistency of a belief base which unifies the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found