Skip to content

Commit f6cea18

Browse files
committed
Add dependabot
1 parent 9a8fa07 commit f6cea18

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for nuget
4+
- package-ecosystem: "nuget"
5+
# Look for NuGet dependency info from the `src` directory
6+
directory: "/src/"
7+
# Check the nuget registry for updates every day (weekdays) schedule:
8+
schedule:
9+
interval: "daily"

src/FixedMath.NET.Bench/Program.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Linq;
23
using BenchmarkDotNet.Attributes;
34
using BenchmarkDotNet.Running;
45

@@ -44,8 +45,17 @@ public void Atan()
4445
var actualF = Fix64.Atan(angle);
4546
}
4647
}
48+
49+
[Benchmark]
50+
public void Atan2()
51+
{
52+
foreach (var angle in atanAngles)
53+
{
54+
var actualF = Fix64.Atan2(angle, angle);
55+
}
56+
}
4757
}
48-
58+
4959
class Program
5060
{
5161
static void Main(string[] args)

0 commit comments

Comments
 (0)