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
using System; | |
using System.Collections.Generic; | |
using System.Numerics; | |
using Fractions; | |
static Fraction FractionCoefsToRational(IReadOnlyList<BigInteger> approx, int index = 0, int cutoff = -1) | |
{ | |
if (cutoff > approx.Count || cutoff < 0) cutoff = approx.Count; | |
var ret = Fraction.Zero; |
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
Index: gfx/drivers_context/drm_egl_ctx.c | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- gfx/drivers_context/drm_egl_ctx.c (revision 3ef70c1c3ddb49abcaed48e41897c7350076f1f5) | |
+++ gfx/drivers_context/drm_egl_ctx.c (revision ) | |
@@ -356,8 +356,10 @@ | |
if (drm->g_orig_crtc) | |
drmModeFreeCrtc(drm->g_orig_crtc); |