From 3ac25a4875fad4cd573956855646143a33ad92a4 Mon Sep 17 00:00:00 2001 From: Arthur Guiot Date: Sat, 30 Jan 2021 09:49:13 -0500 Subject: [PATCH] Fixing ATAN2, and release v0.3.4 --- Euler.podspec | 2 +- Euler.xcodeproj/project.pbxproj | 4 ++-- README.md | 6 +++--- Sources/Euler/Tables/Formulas/CommonFormulas.swift | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Euler.podspec b/Euler.podspec index a739faa..0b37158 100644 --- a/Euler.podspec +++ b/Euler.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Euler" - s.version = "0.3.3" + s.version = "0.3.4" s.summary = "The open source computational framework for the Swift language (early stage)" s.description = <<-DESC The open source computational framework for the Swift language (early stage) diff --git a/Euler.xcodeproj/project.pbxproj b/Euler.xcodeproj/project.pbxproj index 887687e..8901436 100644 --- a/Euler.xcodeproj/project.pbxproj +++ b/Euler.xcodeproj/project.pbxproj @@ -822,7 +822,7 @@ HEADER_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Euler.xcodeproj/Euler_Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; - MARKETING_VERSION = 0.3.3; + MARKETING_VERSION = 0.3.4; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; @@ -847,7 +847,7 @@ HEADER_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Euler.xcodeproj/Euler_Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; - MARKETING_VERSION = 0.3.3; + MARKETING_VERSION = 0.3.4; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; diff --git a/README.md b/README.md index 7654498..64ed620 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ I’m already working with Apple to fix this, but if you have the solution, plea [CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Euler into your Xcode project using CocoaPods, specify it in your `Podfile`: ```ruby -pod 'Euler', '~> 0.3.3' +pod 'Euler', '~> 0.3.4' ``` ### Carthage @@ -23,7 +23,7 @@ pod 'Euler', '~> 0.3.3' [Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Euler into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl -github "arguiot/Euler" ~> 0.3.3 +github "arguiot/Euler" ~> 0.3.4 ``` ### Swift Package Manager @@ -34,7 +34,7 @@ Once you have your Swift package set up, adding Euler as a dependency is as easy ```swift dependencies: [ - .package(url: "https://github.com/arguiot/Euler.git", .upToNextMajor(from: "0.3.3")) + .package(url: "https://github.com/arguiot/Euler.git", .upToNextMajor(from: "0.3.4")) ] ``` diff --git a/Sources/Euler/Tables/Formulas/CommonFormulas.swift b/Sources/Euler/Tables/Formulas/CommonFormulas.swift index 0b95282..ee7937b 100644 --- a/Sources/Euler/Tables/Formulas/CommonFormulas.swift +++ b/Sources/Euler/Tables/Formulas/CommonFormulas.swift @@ -88,7 +88,7 @@ public extension Tables { if BN.radians == true { return BigDouble(atan2(d1, d2)) } - return BigDouble(atan2(d1, d2)) * 180 / pi + return atan2(d1, d2) * 180 / pi } /// Hyperbolic Arc-Tangent of a number.