Skip to content

Commit

Permalink
risedev c
Browse files Browse the repository at this point in the history
  • Loading branch information
CAJan93 committed Jun 28, 2024
1 parent ace278f commit d623696
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/expr/impl/src/scalar/trigonometric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

use std::f64::consts::PI;

use risingwave_common::types::F64;
use risingwave_expr::function;

Expand Down Expand Up @@ -102,7 +100,7 @@ static DEGREE_FORTY_FIVE: f64 = 45.0;
static DEGREE_SIXTY: f64 = 60.0;
static DEGREE_ONE_HALF: f64 = 0.5;
static DEGREE_ONE: f64 = 1.0;
static RADIANS_PER_DEGREE: f64 = 0.017_453_292_519_943_295_769_2;
static RADIANS_PER_DEGREE: f64 = 0.017_453_292_519_943_295;

// Constants we use to get more accurate results.
// Depend on the machine and have to be evaluated at runtime
Expand Down

0 comments on commit d623696

Please sign in to comment.