For example, fmod(-1e-100, 1e100) is -1e-100, but the result of Python’s -1e-100 % 1e100 is 1e100-1e-100, which cannot be represented exactly as a float, and...
{"1_3y7f0":{"state":{"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"1_3y7fw01-0-1"},"ui":"desktop","service":"web","reqid":"1730742185914929-17908268054613752999-balancer-l7leveler-kubr-yp-klg-12-BAL","fast":{"name":"branding"}}}}},"type":"branding"},"1_3y7f1":{"state":{"visibleItems":[{"content":[{"type":"text","text":"Python есть 6 основных «математических» операторов:"}]},{"marker":1,"level":1,"content":[{"type":"text","text":"сложение;"}]},{"marker":2,"level":1,"content":[{"type":"text","text":"вычитание;"}]},{"marker":3,"level":1,"content":[{"type":"text","text":"умножение;"}]},{"collapsed":1,"is_list":1,"content":[{"marker":4,"level":1,"content":[{"type":"text","text":"деление;"}]},{"marker":5,"level":1,"content":[{"type":"text","text":"возведение в степень."}]},{"marker":6,"level":1,"content":[{"type":"text","text":"остаток от деления (mod);"}]},{"marker":7,"level":1,"content":[{"type":"text","text":"целочисленное деление (div)."}]}]},{"content":[{"type":"text","text":"Большинство из вас должно быть знакомо со всеми вышеперечисленными операторами, кроме оператора взятия остатка от деления и целочисленного деления."}]}],"path":{"items":[{"text":"codechick.io"}],"favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"}},"url":"https://codechick.io/tutorials/python/numbers-and-math-functions","favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"},"headline":"Числа и математические функции в Python - CodeChick","titleLines":1,"shouldWrapFold":false,"shouldOpenAllCollapsers":false,"disableReadMore":false,"hasA11yHeader":false,"siteSource":{"url":"https://codechick.io/tutorials/python/numbers-and-math-functions","title":{"title":"Числа и математические функции в Python - CodeChick","lines":1},"subtitle":{"path":{"items":[{"text":"codechick.io"}],"favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"}}}},"footer":{"report":{"featureInfo":{"type":"Факт","subtype":"Расширенный факт","fact":{"type":"Расширенный факт","isText":true}},"feature":"","checkBoxLabels":[]},"addonBefore":"Kaynaktan alınan bilgiyle göre oluşturuldu"},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"1_3y7fw02-0-1"},"ui":"desktop","service":"web","reqid":"1730742185914929-17908268054613752999-balancer-l7leveler-kubr-yp-klg-12-BAL","fast":{"name":"rich_fact"}}}}},"type":"rich_fact"},"1_3y7f2":{"state":{"storeId":"search_tab","query":"python математические операции","backendUrl":"https://twitter.yandex.com.tr/neuralsearch/api?filters_docs=direct_cm&lr=20815&reqid=1730742185914929-17908268054613752999-balancer-l7leveler-kubr-yp-klg-12-BAL","frontendUrl":"https://twitter.yandex.com.tr/search/?","neuroMordaUrl":"https://yandex.com.tr/?neuro=1","feedbackBaseProps":{"metaFields":{"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","userTestids":"1111484,470239,186144,1133337,1149023,1144314,1128740,1137283,844913,1113828,1147478,1144233,936723,1144539,1141498,1142374,1136213,1148486,1140765,1144521,1147944,1149436,1130824,1149183,1142856,1146464,1139546,1149496,1135802,133991,1144245,1146477,1145946,1148653,1144809,56261,1148279,972817,45957,1143315,151171,126312,126351,1029969,287509,338390,784778,1122266,1139801,1149095,941974,1143384,1131910,1145301,1128873,1139238,1147210,1145877,1139401,1145919,1144030,681842","queryText":"python математические операции","reqid":"1730742185914929-17908268054613752999-balancer-l7leveler-kubr-yp-klg-12-BAL","userRegionName":"Columbus","userRegionId":"20815","yandexuid":"8769081171730742184","uid":"0","isChildAccount":false,"searchSlices":["drawer_search_slice_cs","drawer_search_slice_education"]},"featureName":"Футурис серп"},"imageBackendUrl":"https://twitter.yandex.com.tr/images-apphost/image-download?cbird=171","isHermione":false,"reqId":"1730742185914929-17908268054613752999-balancer-l7leveler-kubr-yp-klg-12-BAL","isForceEnableNeuro":false,"isImagePreviewEnabled":false,"advChatParams":null,"user":{"avatarId":"0","isInternalStaff":false},"flags":{"isMorda":false,"mordaImageDrop":false,"withFuturisAutocomplete":false,"withFuturisAutocompleteInSerp":false,"futurisAutocompleteTouchLarge":false,"futurisAutocompleteAllowNewWord":false,"futurisAutoscroll":false,"futurisMaxRequests":null},"device":{"retina":false,"isMacOS":false,"isIOS":false,"platform":"desktop"},"restrictions":{"isFamilyMode":false,"isRussianRegion":true,"isRussianDomain":false,"isInternalStaff":false},"loginUrl":"https://passport.yandex.com.tr/auth?retpath=https%3A%2F%2Fyandex.com.tr%2F%3Fneuro%3D1&origin=futuris","tld":"com.tr","disableUrlParamsModification":true,"yandexUid":"8769081171730742184","isEmbedded":false,"isInternalStaff":false,"isShareDemo":false,"adapterName":"search","forceNeuroActivate":false,"extralinksItems":[{"variant":"futurisAbout","index":1,"target":"_blank"},{"variant":"futurisDisclaimer","index":2}],"hasTabOnboarding":false,"onboardingWithOverlay":true,"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"1_3y7fw04-0-1"},"ui":"desktop","service":"web","reqid":"1730742185914929-17908268054613752999-balancer-l7leveler-kubr-yp-klg-12-BAL","fast":{"name":"futuris-search-tab"}}}}},"type":"futuris-search-tab"}}