Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Numerics;
- using System.Runtime.CompilerServices;
- namespace HelloWorld
- {
- class Program
- {
- static void Main(string[] args)
- {
- Test1(1);
- Test2(1);
- Test3(1);
- Test4(1);
- }
- [MethodImpl(MethodImplOptions.NoInlining)]
- static double Test1(double x) =>
- Math.Pow(x, 0.5);
- [MethodImpl(MethodImplOptions.NoInlining)]
- static double Test2(double x) =>
- Math.Pow(x, 4);
- [MethodImpl(MethodImplOptions.NoInlining)]
- static double Test3(double x) =>
- Math.Pow(2.0, x);
- [MethodImpl(MethodImplOptions.NoInlining)]
- static double Test4(double x) =>
- Math.Log(Math.Exp(x));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement