ios-analysis | Automated Binary Analysis on iOS | Reverse Engineering library
kandi X-RAY | ios-analysis Summary
kandi X-RAY | ios-analysis Summary
Automated Binary Analysis on iOS
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ios-analysis
ios-analysis Key Features
ios-analysis Examples and Code Snippets
Community Discussions
Trending Discussions on ios-analysis
QUESTION
In Xamarin.iOS project properties, under "iOS Build" there's an option for: "Perform all 32 bit float operations as 64 bit float".
Microsoft seems to say that using 32 bit "affects precision and, possibly, compatibility" in a bad way, so better use 64 bit precision.
But the popup on the text in visual studio (when hovering with the cursor over "Perform all 32 bit float operations as 64 bit float") says "using 64...is slightly incompatible with .net code."
So which one is it?
...ANSWER
Answered 2020-May-15 at 15:33You have misread the statement in your first point. Microsoft doesn't say that using 32-bit is bad, so you need to use 64-bit. Just the opposite.
Basically, it is always preferable to use 64-bit float operations. They are enabled by default and according to the Floating Point Operations in Xamarin.iOS docs:
While this higher precision is closer to what developers expect from floating point operations in C# on the desktop, on mobile, the performance impact can be significant.
Let's see what the Code Analysis tool is:
Xamarin.iOS analysis is a set of rules that check your project settings to help you determine if better/more optimized settings are available.
So, even though it is preferable to use 64-bit floats, this isn't always the best choice. When you run the Code analysis tool, it will scan your project to see if there is a better suited configuration for your solution (it depends on the project's flow).
Occasionally, the 64-bit floats may do you more harm than gain. In this case, the linter will warn you with XIA0005: Float32Rule
, which will suggest that you uncheck the option, like the Microsoft's message says.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ios-analysis
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page