Skip to content

Commit 80d9747

Browse files
committed
Convert to .NET standard
1 parent b2adac7 commit 80d9747

26 files changed

+517
-66470
lines changed

.gitignore

Lines changed: 132 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
55

66
# User-specific files
7+
*.rsuser
78
*.suo
89
*.user
910
*.userosscache
@@ -12,50 +13,72 @@
1213
# User-specific files (MonoDevelop/Xamarin Studio)
1314
*.userprefs
1415

16+
# Mono auto generated files
17+
mono_crash.*
18+
1519
# Build results
1620
[Dd]ebug/
1721
[Dd]ebugPublic/
1822
[Rr]elease/
1923
[Rr]eleases/
2024
x64/
2125
x86/
26+
[Ww][Ii][Nn]32/
27+
[Aa][Rr][Mm]/
28+
[Aa][Rr][Mm]64/
2229
bld/
2330
[Bb]in/
2431
[Oo]bj/
2532
[Ll]og/
33+
[Ll]ogs/
2634

27-
# Visual Studio 2015 cache/options directory
35+
# Visual Studio 2015/2017 cache/options directory
2836
.vs/
2937
# Uncomment if you have tasks that create the project's static files in wwwroot
3038
#wwwroot/
3139

40+
# Visual Studio 2017 auto generated files
41+
Generated\ Files/
42+
3243
# MSTest test Results
3344
[Tt]est[Rr]esult*/
3445
[Bb]uild[Ll]og.*
3546

36-
# NUNIT
47+
# NUnit
3748
*.VisualState.xml
3849
TestResult.xml
50+
nunit-*.xml
3951

4052
# Build Results of an ATL Project
4153
[Dd]ebugPS/
4254
[Rr]eleasePS/
4355
dlldata.c
4456

57+
# Benchmark Results
58+
BenchmarkDotNet.Artifacts/
59+
4560
# .NET Core
4661
project.lock.json
4762
project.fragment.lock.json
4863
artifacts/
49-
**/Properties/launchSettings.json
5064

65+
# ASP.NET Scaffolding
66+
ScaffoldingReadMe.txt
67+
68+
# StyleCop
69+
StyleCopReport.xml
70+
71+
# Files built by Visual Studio
5172
*_i.c
5273
*_p.c
53-
*_i.h
74+
*_h.h
5475
*.ilk
5576
*.meta
5677
*.obj
78+
*.iobj
5779
*.pch
5880
*.pdb
81+
*.ipdb
5982
*.pgc
6083
*.pgd
6184
*.rsp
@@ -65,7 +88,9 @@ artifacts/
6588
*.tlh
6689
*.tmp
6790
*.tmp_proj
91+
*_wpftmp.csproj
6892
*.log
93+
*.tlog
6994
*.vspscc
7095
*.vssscc
7196
.builds
@@ -93,6 +118,9 @@ ipch/
93118
*.vspx
94119
*.sap
95120

121+
# Visual Studio Trace Files
122+
*.e2e
123+
96124
# TFS 2012 Local Workspace
97125
$tf/
98126

@@ -104,15 +132,21 @@ _ReSharper*/
104132
*.[Rr]e[Ss]harper
105133
*.DotSettings.user
106134

107-
# JustCode is a .NET coding add-in
108-
.JustCode
109-
110135
# TeamCity is a build add-in
111136
_TeamCity*
112137

113138
# DotCover is a Code Coverage Tool
114139
*.dotCover
115140

141+
# AxoCover is a Code Coverage Tool
142+
.axoCover/*
143+
!.axoCover/settings.json
144+
145+
# Coverlet is a free, cross platform Code Coverage Tool
146+
coverage*.json
147+
coverage*.xml
148+
coverage*.info
149+
116150
# Visual Studio code coverage results
117151
*.coverage
118152
*.coveragexml
@@ -148,7 +182,7 @@ publish/
148182
# Publish Web Output
149183
*.[Pp]ublish.xml
150184
*.azurePubxml
151-
# TODO: Comment the next line if you want to checkin your web deploy settings
185+
# Note: Comment the next line if you want to checkin your web deploy settings,
152186
# but database connection strings (with potential passwords) will be unencrypted
153187
*.pubxml
154188
*.publishproj
@@ -160,16 +194,21 @@ PublishScripts/
160194

161195
# NuGet Packages
162196
*.nupkg
197+
# NuGet Symbol Packages
198+
*.snupkg
163199
# The packages folder can be ignored because of Package Restore
164-
**/packages/*
200+
**/[Pp]ackages/*
165201
# except build/, which is used as an MSBuild target.
166-
!**/packages/build/
202+
!**/[Pp]ackages/build/
167203
# Uncomment if necessary however generally it will be regenerated when needed
168-
#!**/packages/repositories.config
204+
#!**/[Pp]ackages/repositories.config
169205
# NuGet v3's project.json files produces more ignorable files
170206
*.nuget.props
171207
*.nuget.targets
172208

209+
# Nuget personal access tokens and Credentials
210+
nuget.config
211+
173212
# Microsoft Azure Build Output
174213
csx/
175214
*.build.csdef
@@ -183,12 +222,15 @@ AppPackages/
183222
BundleArtifacts/
184223
Package.StoreAssociation.xml
185224
_pkginfo.txt
225+
*.appx
226+
*.appxbundle
227+
*.appxupload
186228

187229
# Visual Studio cache files
188230
# files ending in .cache can be ignored
189231
*.[Cc]ache
190232
# but keep track of directories ending in .cache
191-
!*.[Cc]ache/
233+
!?*.[Cc]ache/
192234

193235
# Others
194236
ClientBin/
@@ -201,6 +243,10 @@ ClientBin/
201243
*.publishsettings
202244
orleans.codegen.cs
203245

246+
# Including strong name files can present a security risk
247+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
248+
#*.snk
249+
204250
# Since there are multiple workflows, uncomment next line to ignore bower_components
205251
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
206252
#bower_components/
@@ -215,15 +261,22 @@ _UpgradeReport_Files/
215261
Backup*/
216262
UpgradeLog*.XML
217263
UpgradeLog*.htm
264+
ServiceFabricBackup/
265+
*.rptproj.bak
218266

219267
# SQL Server files
220268
*.mdf
221269
*.ldf
270+
*.ndf
222271

223272
# Business Intelligence projects
224273
*.rdl.data
225274
*.bim.layout
226275
*.bim_*.settings
276+
*.rptproj.rsuser
277+
*- [Bb]ackup.rdl
278+
*- [Bb]ackup ([0-9]).rdl
279+
*- [Bb]ackup ([0-9][0-9]).rdl
227280

228281
# Microsoft Fakes
229282
FakesAssemblies/
@@ -235,9 +288,6 @@ FakesAssemblies/
235288
.ntvs_analysis.dat
236289
node_modules/
237290

238-
# Typescript v1 declaration files
239-
typings/
240-
241291
# Visual Studio 6 build log
242292
*.plg
243293

@@ -262,17 +312,77 @@ paket-files/
262312
# FAKE - F# Make
263313
.fake/
264314

265-
# JetBrains Rider
266-
.idea/
267-
*.sln.iml
268-
269-
# CodeRush
270-
.cr/
315+
# CodeRush personal settings
316+
.cr/personal
271317

272318
# Python Tools for Visual Studio (PTVS)
273319
__pycache__/
274320
*.pyc
275321

276322
# Cake - Uncomment if you are using it
277323
# tools/**
278-
# !tools/packages.config
324+
# !tools/packages.config
325+
326+
# Tabs Studio
327+
*.tss
328+
329+
# Telerik's JustMock configuration file
330+
*.jmconfig
331+
332+
# BizTalk build output
333+
*.btp.cs
334+
*.btm.cs
335+
*.odx.cs
336+
*.xsd.cs
337+
338+
# OpenCover UI analysis results
339+
OpenCover/
340+
341+
# Azure Stream Analytics local run output
342+
ASALocalRun/
343+
344+
# MSBuild Binary and Structured Log
345+
*.binlog
346+
347+
# NVidia Nsight GPU debugger configuration file
348+
*.nvuser
349+
350+
# MFractors (Xamarin productivity tool) working folder
351+
.mfractor/
352+
353+
# Local History for Visual Studio
354+
.localhistory/
355+
356+
# BeatPulse healthcheck temp database
357+
healthchecksdb
358+
359+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
360+
MigrationBackup/
361+
362+
# Ionide (cross platform F# VS Code tools) working folder
363+
.ionide/
364+
365+
# Fody - auto-generated XML schema
366+
FodyWeavers.xsd
367+
368+
# VS Code files for those working on multiple tools
369+
.vscode/*
370+
!.vscode/settings.json
371+
!.vscode/tasks.json
372+
!.vscode/launch.json
373+
!.vscode/extensions.json
374+
*.code-workspace
375+
376+
# Local History for Visual Studio Code
377+
.history/
378+
379+
# Windows Installer files from build outputs
380+
*.cab
381+
*.msi
382+
*.msix
383+
*.msm
384+
*.msp
385+
386+
# JetBrains Rider
387+
.idea/
388+
*.sln.iml

FixedMath.NET.sln

Lines changed: 0 additions & 28 deletions
This file was deleted.

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2012 Andr� Slupik
1+
Copyright 2012 André Slupik
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

README.txt renamed to README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# FixMath.NET
2+
3+
4+
5+
## Original Text
6+
17
This library implements "Fix64", a 64 bit fixed point 31.32 numeric type and transcendent operations on it (square root, trig, etc). It is well covered by unit tests. However, it is still missing some operations; in particular, Tangent is not well tested yet.
28

39
In the unit tests you'll find implementations for Int32-based (Q15.16) and Byte-based (Q3.4) numeric types. These were used for exploration of boundary conditions etc., but I'm keeping the code there only for reference.

0 commit comments

Comments
 (0)