{"payload":{"allShortcutsEnabled":false,"fileTree":{"src/libm":{"items":[{"name":"e_log.c","path":"src/libm/e_log.c","contentType":"file"},{"name":"e_pow.c","path":"src/libm/e_pow.c","contentType":"file"},{"name":"e_rem_pio2.c","path":"src/libm/e_rem_pio2.c","contentType":"file"},{"name":"e_sqrt.c","path":"src/libm/e_sqrt.c","contentType":"file"},{"name":"k_cos.c","path":"src/libm/k_cos.c","contentType":"file"},{"name":"k_rem_pio2.c","path":"src/libm/k_rem_pio2.c","contentType":"file"},{"name":"k_sin.c","path":"src/libm/k_sin.c","contentType":"file"},{"name":"math.h","path":"src/libm/math.h","contentType":"file"},{"name":"math_private.h","path":"src/libm/math_private.h","contentType":"file"},{"name":"s_copysign.c","path":"src/libm/s_copysign.c","contentType":"file"},{"name":"s_cos.c","path":"src/libm/s_cos.c","contentType":"file"},{"name":"s_fabs.c","path":"src/libm/s_fabs.c","contentType":"file"},{"name":"s_floor.c","path":"src/libm/s_floor.c","contentType":"file"},{"name":"s_scalbn.c","path":"src/libm/s_scalbn.c","contentType":"file"},{"name":"s_sin.c","path":"src/libm/s_sin.c","contentType":"file"}],"totalCount":15},"src":{"items":[{"name":"audio","path":"src/audio","contentType":"directory"},{"name":"cdrom","path":"src/cdrom","contentType":"directory"},{"name":"cpuinfo","path":"src/cpuinfo","contentType":"directory"},{"name":"events","path":"src/events","contentType":"directory"},{"name":"file","path":"src/file","contentType":"directory"},{"name":"haptic","path":"src/haptic","contentType":"directory"},{"name":"joystick","path":"src/joystick","contentType":"directory"},{"name":"libm","path":"src/libm","contentType":"directory"},{"name":"loadso","path":"src/loadso","contentType":"directory"},{"name":"main","path":"src/main","contentType":"directory"},{"name":"stdlib","path":"src/stdlib","contentType":"directory"},{"name":"thread","path":"src/thread","contentType":"directory"},{"name":"timer","path":"src/timer","contentType":"directory"},{"name":"video","path":"src/video","contentType":"directory"},{"name":"SDL.c","path":"src/SDL.c","contentType":"file"},{"name":"SDL_compat.c","path":"src/SDL_compat.c","contentType":"file"},{"name":"SDL_error.c","path":"src/SDL_error.c","contentType":"file"},{"name":"SDL_error_c.h","path":"src/SDL_error_c.h","contentType":"file"},{"name":"SDL_fatal.c","path":"src/SDL_fatal.c","contentType":"file"},{"name":"SDL_fatal.h","path":"src/SDL_fatal.h","contentType":"file"}],"totalCount":20},"":{"items":[{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"VisualCE","path":"VisualCE","contentType":"directory"},{"name":"XCodeiPhoneOS","path":"XCodeiPhoneOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".indent.pro","path":".indent.pro","contentType":"file"},{"name":"BUGS","path":"BUGS","contentType":"file"},{"name":"Borland.html","path":"Borland.html","contentType":"file"},{"name":"Borland.zip","path":"Borland.zip","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"CREDITS","path":"CREDITS","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"Makefile.dc","path":"Makefile.dc","contentType":"file"},{"name":"Makefile.ds","path":"Makefile.ds","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"NOTES","path":"NOTES","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.BeOS","path":"README.BeOS","contentType":"file"},{"name":"README.CVS","path":"README.CVS","contentType":"file"},{"name":"README.DC","path":"README.DC","contentType":"file"},{"name":"README.DirectFB","path":"README.DirectFB","contentType":"file"},{"name":"README.MacOSX","path":"README.MacOSX","contentType":"file"},{"name":"README.MiNT","path":"README.MiNT","contentType":"file"},{"name":"README.NanoX","path":"README.NanoX","contentType":"file"},{"name":"README.OS2","path":"README.OS2","contentType":"file"},{"name":"README.Porting","path":"README.Porting","contentType":"file"},{"name":"README.QNX","path":"README.QNX","contentType":"file"},{"name":"README.RISCOS","path":"README.RISCOS","contentType":"file"},{"name":"README.SVN","path":"README.SVN","contentType":"file"},{"name":"README.Watcom","path":"README.Watcom","contentType":"file"},{"name":"README.WinCE","path":"README.WinCE","contentType":"file"},{"name":"README.iphoneos","path":"README.iphoneos","contentType":"file"},{"name":"README.pandora","path":"README.pandora","contentType":"file"},{"name":"README.wscons","path":"README.wscons","contentType":"file"},{"name":"SDL.spec.in","path":"SDL.spec.in","contentType":"file"},{"name":"TODO","path":"TODO","contentType":"file"},{"name":"UNDER_CONSTRUCTION.txt","path":"UNDER_CONSTRUCTION.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"Watcom-OS2.zip","path":"Watcom-OS2.zip","contentType":"file"},{"name":"Watcom-Win32.zip","path":"Watcom-Win32.zip","contentType":"file"},{"name":"WhatsNew","path":"WhatsNew","contentType":"file"},{"name":"acinclude.m4","path":"acinclude.m4","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"docs.html","path":"docs.html","contentType":"file"},{"name":"sdl-config.in","path":"sdl-config.in","contentType":"file"},{"name":"sdl.m4","path":"sdl.m4","contentType":"file"},{"name":"sdl.pc.in","path":"sdl.pc.in","contentType":"file"}],"totalCount":55}},"fileTreeProcessingTime":15.832483000000002,"foldersToFetch":[],"repo":{"id":337752652,"defaultBranch":"main","name":"SDL-historical-archive","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-02-10T14:40:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"8ec0e16b15c7875384594f1156e99d158b3b93fd","listCacheKey":"v0:1612970265.696589","canEdit":false,"refType":"tree","currentOid":"8ec0e16b15c7875384594f1156e99d158b3b93fd"},"path":"src/libm/k_sin.c","currentUser":null,"blob":{"rawLines":["/* @(#)k_sin.c 5.1 93/09/24 */","/*"," * ===================================================="," * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved."," *"," * Developed at SunPro, a Sun Microsystems, Inc. business."," * Permission to use, copy, modify, and distribute this"," * software is freely granted, provided that this notice"," * is preserved."," * ===================================================="," */","","#if defined(LIBM_SCCS) && !defined(lint)","static const char rcsid[] ="," \"$NetBSD: k_sin.c,v 1.8 1995/05/10 20:46:31 jtc Exp $\";","#endif","","/* __kernel_sin( x, y, iy)"," * kernel sin function on [-pi/4, pi/4], pi/4 ~ 0.7854"," * Input x is assumed to be bounded by ~pi/4 in magnitude."," * Input y is the tail of x."," * Input iy indicates whether y is 0. (if iy=0, y assume to be 0)."," *"," * Algorithm"," *\t1. Since sin(-x) = -sin(x), we need only to consider positive x."," *\t2. if x < 2^-27 (hx<0x3e400000 0), return x with inexact if x!=0."," *\t3. sin(x) is approximated by a polynomial of degree 13 on"," *\t [0,pi/4]"," *\t\t \t 3 13"," *\t \tsin(x) ~ x + S1*x + ... + S6*x"," *\t where"," *"," * \t|sin(x) 2 4 6 8 10 12 | -58"," * \t|----- - (1+S1*x +S2*x +S3*x +S4*x +S5*x +S6*x )| <= 2"," * \t| x \t\t\t\t\t |"," *"," *\t4. sin(x+y) = sin(x) + sin'(x')*y"," *\t\t ~ sin(x) + (1-x*x/2)*y"," *\t For better accuracy, let"," *\t\t 3 2 2 2 2"," *\t\tr = x *(S2+x *(S3+x *(S4+x *(S5+x *S6))))"," *\t then 3 2"," *\t\tsin(x) = x + (S1*x + (x *(r-y/2)+y))"," */","","#include \"math.h\"","#include \"math_private.h\"","","#ifdef __STDC__","static const double","#else","static double","#endif"," half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */"," S1 = -1.66666666666666324348e-01, /* 0xBFC55555, 0x55555549 */"," S2 = 8.33333333332248946124e-03, /* 0x3F811111, 0x1110F8A6 */"," S3 = -1.98412698298579493134e-04, /* 0xBF2A01A0, 0x19C161D5 */"," S4 = 2.75573137070700676789e-06, /* 0x3EC71DE3, 0x57B1FE7D */"," S5 = -2.50507602534068634195e-08, /* 0xBE5AE5E6, 0x8A2B9CEB */"," S6 = 1.58969099521155010221e-10; /* 0x3DE5D93A, 0x5ACFD57C */","","#ifdef __STDC__","double attribute_hidden","__kernel_sin(double x, double y, int iy)","#else","double attribute_hidden","__kernel_sin(x, y, iy)"," double x, y;"," int iy; /* iy=0 if y is zero */","#endif","{"," double z, r, v;"," int32_t ix;"," GET_HIGH_WORD(ix, x);"," ix &= 0x7fffffff; /* high word of x */"," if (ix < 0x3e400000) { /* |x| < 2**-27 */"," if ((int) x == 0)"," return x;"," } /* generate inexact */"," z = x * x;"," v = z * x;"," r = S2 + z * (S3 + z * (S4 + z * (S5 + z * S6)));"," if (iy == 0)"," return x + v * (S1 + z * r);"," else"," return x - ((z * (half * y - v * r) - y) - v * S1);","}"],"stylingDirectives":[[{"start":0,"end":30,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":55,"cssClass":"pl-c"}],[{"start":0,"end":68,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":58,"cssClass":"pl-c"}],[{"start":0,"end":55,"cssClass":"pl-c"}],[{"start":0,"end":56,"cssClass":"pl-c"}],[{"start":0,"end":16,"cssClass":"pl-c"}],[{"start":0,"end":55,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[],[{"start":0,"end":3,"cssClass":"pl-k"},{"start":12,"end":21,"cssClass":"pl-c1"},{"start":23,"end":25,"cssClass":"pl-c1"},{"start":35,"end":39,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-k"},{"start":13,"end":17,"cssClass":"pl-smi"},{"start":18,"end":23,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"}],[{"start":4,"end":58,"cssClass":"pl-s"}],[{"start":0,"end":6,"cssClass":"pl-k"}],[],[{"start":0,"end":26,"cssClass":"pl-c"}],[{"start":0,"end":54,"cssClass":"pl-c"}],[{"start":0,"end":58,"cssClass":"pl-c"}],[{"start":0,"end":28,"cssClass":"pl-c"}],[{"start":0,"end":66,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":12,"cssClass":"pl-c"}],[{"start":0,"end":67,"cssClass":"pl-c"}],[{"start":0,"end":68,"cssClass":"pl-c"}],[{"start":0,"end":60,"cssClass":"pl-c"}],[{"start":0,"end":14,"cssClass":"pl-c"}],[{"start":0,"end":31,"cssClass":"pl-c"}],[{"start":0,"end":37,"cssClass":"pl-c"}],[{"start":0,"end":11,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":64,"cssClass":"pl-c"}],[{"start":0,"end":61,"cssClass":"pl-c"}],[{"start":0,"end":26,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":36,"cssClass":"pl-c"}],[{"start":0,"end":30,"cssClass":"pl-c"}],[{"start":0,"end":30,"cssClass":"pl-c"}],[{"start":0,"end":38,"cssClass":"pl-c"}],[{"start":0,"end":45,"cssClass":"pl-c"}],[{"start":0,"end":35,"cssClass":"pl-c"}],[{"start":0,"end":40,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[],[{"start":0,"end":8,"cssClass":"pl-k"},{"start":9,"end":17,"cssClass":"pl-s"}],[{"start":0,"end":8,"cssClass":"pl-k"},{"start":9,"end":25,"cssClass":"pl-s"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":15,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-k"},{"start":13,"end":19,"cssClass":"pl-smi"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"}],[{"start":2,"end":6,"cssClass":"pl-s1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":35,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-c1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":36,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-c1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":35,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-c1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":36,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-c1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":35,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-c1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":36,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-c1"},{"start":7,"end":8,"cssClass":"pl-c1"},{"start":9,"end":35,"cssClass":"pl-c1"},{"start":40,"end":68,"cssClass":"pl-c"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":15,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-smi"},{"start":7,"end":23,"cssClass":"pl-s1"}],[{"start":0,"end":12,"cssClass":"pl-en"},{"start":13,"end":19,"cssClass":"pl-smi"},{"start":20,"end":21,"cssClass":"pl-s1"},{"start":23,"end":29,"cssClass":"pl-smi"},{"start":30,"end":31,"cssClass":"pl-s1"},{"start":33,"end":36,"cssClass":"pl-smi"},{"start":37,"end":39,"cssClass":"pl-s1"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[{"start":0,"end":6,"cssClass":"pl-smi"},{"start":7,"end":23,"cssClass":"pl-s1"}],[{"start":0,"end":12,"cssClass":"pl-en"},{"start":13,"end":14,"cssClass":"pl-s1"},{"start":16,"end":17,"cssClass":"pl-s1"},{"start":19,"end":21,"cssClass":"pl-s1"}],[{"start":5,"end":11,"cssClass":"pl-smi"},{"start":12,"end":13,"cssClass":"pl-s1"},{"start":15,"end":16,"cssClass":"pl-s1"}],[{"start":5,"end":8,"cssClass":"pl-smi"},{"start":9,"end":11,"cssClass":"pl-s1"},{"start":32,"end":55,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"}],[],[{"start":4,"end":10,"cssClass":"pl-smi"},{"start":11,"end":12,"cssClass":"pl-s1"},{"start":14,"end":15,"cssClass":"pl-s1"},{"start":17,"end":18,"cssClass":"pl-s1"}],[{"start":4,"end":11,"cssClass":"pl-smi"},{"start":12,"end":14,"cssClass":"pl-s1"}],[{"start":4,"end":17,"cssClass":"pl-en"},{"start":18,"end":20,"cssClass":"pl-s1"},{"start":22,"end":23,"cssClass":"pl-s1"}],[{"start":4,"end":6,"cssClass":"pl-s1"},{"start":10,"end":20,"cssClass":"pl-c1"},{"start":32,"end":52,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-k"},{"start":8,"end":10,"cssClass":"pl-s1"},{"start":11,"end":12,"cssClass":"pl-c1"},{"start":13,"end":23,"cssClass":"pl-c1"},{"start":32,"end":50,"cssClass":"pl-c"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":13,"end":16,"cssClass":"pl-smi"},{"start":18,"end":19,"cssClass":"pl-s1"},{"start":20,"end":22,"cssClass":"pl-c1"},{"start":23,"end":24,"cssClass":"pl-c1"}],[{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":20,"cssClass":"pl-s1"}],[{"start":32,"end":54,"cssClass":"pl-c"}],[{"start":4,"end":5,"cssClass":"pl-s1"},{"start":6,"end":7,"cssClass":"pl-c1"},{"start":8,"end":9,"cssClass":"pl-s1"},{"start":10,"end":11,"cssClass":"pl-c1"},{"start":12,"end":13,"cssClass":"pl-s1"}],[{"start":4,"end":5,"cssClass":"pl-s1"},{"start":6,"end":7,"cssClass":"pl-c1"},{"start":8,"end":9,"cssClass":"pl-s1"},{"start":10,"end":11,"cssClass":"pl-c1"},{"start":12,"end":13,"cssClass":"pl-s1"}],[{"start":4,"end":5,"cssClass":"pl-s1"},{"start":6,"end":7,"cssClass":"pl-c1"},{"start":8,"end":10,"cssClass":"pl-c1"},{"start":11,"end":12,"cssClass":"pl-c1"},{"start":13,"end":14,"cssClass":"pl-s1"},{"start":15,"end":16,"cssClass":"pl-c1"},{"start":18,"end":20,"cssClass":"pl-c1"},{"start":21,"end":22,"cssClass":"pl-c1"},{"start":23,"end":24,"cssClass":"pl-s1"},{"start":25,"end":26,"cssClass":"pl-c1"},{"start":28,"end":30,"cssClass":"pl-c1"},{"start":31,"end":32,"cssClass":"pl-c1"},{"start":33,"end":34,"cssClass":"pl-s1"},{"start":35,"end":36,"cssClass":"pl-c1"},{"start":38,"end":40,"cssClass":"pl-c1"},{"start":41,"end":42,"cssClass":"pl-c1"},{"start":43,"end":44,"cssClass":"pl-s1"},{"start":45,"end":46,"cssClass":"pl-c1"},{"start":47,"end":49,"cssClass":"pl-c1"}],[{"start":4,"end":6,"cssClass":"pl-k"},{"start":8,"end":10,"cssClass":"pl-s1"},{"start":11,"end":13,"cssClass":"pl-c1"},{"start":14,"end":15,"cssClass":"pl-c1"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":16,"cssClass":"pl-s1"},{"start":17,"end":18,"cssClass":"pl-c1"},{"start":19,"end":20,"cssClass":"pl-s1"},{"start":21,"end":22,"cssClass":"pl-c1"},{"start":24,"end":26,"cssClass":"pl-c1"},{"start":27,"end":28,"cssClass":"pl-c1"},{"start":29,"end":30,"cssClass":"pl-s1"},{"start":31,"end":32,"cssClass":"pl-c1"},{"start":33,"end":34,"cssClass":"pl-s1"}],[{"start":4,"end":8,"cssClass":"pl-k"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":16,"cssClass":"pl-s1"},{"start":17,"end":18,"cssClass":"pl-c1"},{"start":21,"end":22,"cssClass":"pl-s1"},{"start":23,"end":24,"cssClass":"pl-c1"},{"start":26,"end":30,"cssClass":"pl-s1"},{"start":31,"end":32,"cssClass":"pl-c1"},{"start":33,"end":34,"cssClass":"pl-s1"},{"start":35,"end":36,"cssClass":"pl-c1"},{"start":37,"end":38,"cssClass":"pl-s1"},{"start":39,"end":40,"cssClass":"pl-c1"},{"start":41,"end":42,"cssClass":"pl-s1"},{"start":44,"end":45,"cssClass":"pl-c1"},{"start":46,"end":47,"cssClass":"pl-s1"},{"start":49,"end":50,"cssClass":"pl-c1"},{"start":51,"end":52,"cssClass":"pl-s1"},{"start":53,"end":54,"cssClass":"pl-c1"},{"start":55,"end":57,"cssClass":"pl-c1"}],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL-historical-archive/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"k_sin.c","displayUrl":"https://github.com/libsdl-org/SDL-historical-archive/blame/8ec0e16b15c7875384594f1156e99d158b3b93fd/src/libm/k_sin.c?raw=true","headerInfo":{"blobSize":"2.74 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"250ee6e","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL-historical-archive%2Fblame%2F8ec0e16b15c7875384594f1156e99d158b3b93fd%2Fsrc%2Flibm%2Fk_sin.c","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"87","truncatedSloc":"82"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"C","languageID":41,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL-historical-archive/blame/8ec0e16b15c7875384594f1156e99d158b3b93fd/src/libm/k_sin.c","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL-historical-archive/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL-historical-archive/raw/8ec0e16b15c7875384594f1156e99d158b3b93fd/src/libm/k_sin.c","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":true,"not_analyzed":false,"symbols":[{"name":"__kernel_sin","kind":"function","ident_start":2155,"ident_end":2167,"extent_start":2155,"extent_end":2195,"fully_qualified_name":"__kernel_sin","ident_utf16":{"start":{"line_number":63,"utf16_col":0},"end":{"line_number":63,"utf16_col":12}},"extent_utf16":{"start":{"line_number":63,"utf16_col":0},"end":{"line_number":63,"utf16_col":40}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":13,"oldEnd":13,"commitOid":"3ef951dd45a2686d3c0787b597782ee30f529297","reblamePath":null},"14":{"start":14,"oldStart":14,"end":15,"oldEnd":15,"commitOid":"8ec0e16b15c7875384594f1156e99d158b3b93fd","reblamePath":"src/libm/k_sin.c"},"16":{"start":16,"oldStart":15,"end":87,"oldEnd":86,"commitOid":"3ef951dd45a2686d3c0787b597782ee30f529297","reblamePath":null}},"commits":{"3ef951dd45a2686d3c0787b597782ee30f529297":{"oid":"3ef951dd45a2686d3c0787b597782ee30f529297","message":"Expanded the libm support and put it into a separate directory.","shortMessageHtmlLink":"Expanded the libm support and put it into a separate directory.","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2008-09-15T06:33:23.000Z","firstParentOid":"233076d9b5beb65ff0bc2238cbf6d1033b022600"},"8ec0e16b15c7875384594f1156e99d158b3b93fd":{"oid":"8ec0e16b15c7875384594f1156e99d158b3b93fd","message":"Von: Thomas Zimmermann\nBetreff: [SDL] [PATCH] Make static variables const\nDatum: Tue, 19 May 2009 19:45:37 +0200\n\nHi,\n\nthis is a set of simple changes which make some of SDL's internal static\narrays constant. The purpose is to shrink the number of write-able\nstatic bytes and thus increase the number of memory pages shared between\nSDL applications.\n\nThe patch set is against trunk@4513. Each of the attached patch files is\nspecific to a sub-system. The set is completed by a second mail, because\nof the list's 40 KiB limit.\n\nThe files readelf-r4513.txt and readelf-const-patch.txt where made by\ncalling 'readelf -S libSDL.so'. They show the difference in ELF sections\nwithout and with the patch. Some numbers measured on my x86-64:\n\nBefore\n\n [13] .rodata PROGBITS 00000000000eaaa0 000eaaa0\n 0000000000008170 0000000000000000 A 0 0 32\n [19] .data.rel.ro PROGBITS 00000000003045e0 001045e0\n 00000000000023d0 0000000000000000 WA 0 0 32\n [23] .data PROGBITS 00000000003076e0 001076e0\n 0000000000004988 0000000000000000 WA 0 0 32\n\nAfter\n\n [13] .rodata PROGBITS 00000000000eaaa0 000eaaa0\n 0000000000009a50 0000000000000000 A 0 0 32\n [19] .data.rel.ro PROGBITS 0000000000306040 00106040\n 0000000000002608 0000000000000000 WA 0 0 32\n [23] .data PROGBITS 0000000000309360 00109360\n 0000000000002e88 0000000000000000 WA 0 0 32\n\nThe size of the write-able data section decreased considerably. Some\nentries became const-after-relocation, while most of its content went\nstraight into the read-only data section.\n\nBest regards, Thomas","shortMessageHtmlLink":"Von: Thomas Zimmermann","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2009-06-03T04:37:27.000Z","firstParentOid":"6b7fccd4103a59e68a068c5cb1079797f23a25d2"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL-historical-archive/branches":{"post":"UQyzKyHXYEv7zgcGcY4GhsO_jt__j8wbU3lfZ8hTXvJKM-4x4Ji2nFaThozdVw_yuysJY9As49Hsn0x1GDCRRQ"},"/repos/preferences":{"post":"tXsWLxJE--UscptUfRJxtMi0m3vI6TIq67GFZLWM9r_xrZWNWYgwMhEQkvc9rIHYjGid6NwxtEXff29PwGn27g"}}},"title":"Blaming SDL-historical-archive/src/libm/k_sin.c at 8ec0e16b15c7875384594f1156e99d158b3b93fd ยท libsdl-org/SDL-historical-archive"}