This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public long FibonacciNumber(long n) | |
| { | |
| if (n > 92) | |
| throw new ArgumentOutOfRangeException("n", "Fib(>92) will cause a 64-bit integer overflow."); | |
| if (n < -92) | |
| throw new ArgumentOutOfRangeException("n", "Fib(<-92) will cause a 64-bit integer overflow."); | |
| var sqrt5 = Math.Sqrt(5); | |
| var bigPhi = (sqrt5 + 1) / 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override |
OlderNewer