1"use strict";(self.webpackChunkmodular_fe=self.webpackChunkmodular_fe||[]).push([["10381"],{47011(e,s,i){i.r(s),i.d(s,{metadata:()=>n,default:()=>u,frontMatter:()=>l,contentTitle:()=>r,toc:()=>c,assets:()=>d});var n=JSON.parse('{"id":"docs/std/sys/intrinsics/unlikely","title":"unlikely","description":"Provides information that the most probable value of `val` is going to be `False`. This information can be used by optimizers.","source":"@site/versioned_docs/version-1.0.0/docs/std/sys/intrinsics/unlikely.md","sourceDirName":"docs/std/sys/intrinsics","slug":"/docs/std/sys/intrinsics/unlikely","permalink":"/1.0.0/docs/std/sys/intrinsics/unlikely","draft":false,"unlisted":false,"editUrl":"https://github.com/modular/modular/edit/main/Mojo/docs/site/std/sys/intrinsics/unlikely.md","tags":[],"version":"1.0.0","frontMatter":{"title":"unlikely","version":"1.0.0.dev0","slug":"unlikely","type":"function","namespace":"std.sys.intrinsics","lang":"mojo","show_stability_marker":null,"description":"Provides information that the most probable value of `val` is going to be `False`. This information can be used by optimizers."},"sidebar":"stdSidebar","previous":{"title":"strided_store","permalink":"/1.0.0/docs/std/sys/intrinsics/strided_store"},"next":{"title":"terminate","permalink":"/1.0.0/docs/std/sys/terminate/"}}'),t=i(74848),o=i(28453);let l={title:"unlikely",version:"1.0.0.dev0",slug:"unlikely",type:"function",namespace:"std.sys.intrinsics",lang:"mojo",show_stability_marker:null,description:"Provides information that the most probable value of `val` is going to be `False`. This information can be used by optimizers."},r,d={},c=[];function a(e){let s={a:"a",b:"b",code:"code",div:"div",li:"li",p:"p",section:"section",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,t.jsxs)(s.section,{className:"mojo-docs",children:["\n",(0,t.jsxs)(s.div,{className:"mojo-function-detail",children:["\n",(0,t.jsxs)(s.div,{className:"mojo-function-sig",children:["\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"def unlikely(val: Bool) -> Bool"})}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:["Provides information that the most probable value of ",(0,t.jsx)(s.code,{children:"val"})," is going to be ",(0,t.jsx)(s.code,{children:"False"}),". This information can be used by optimizers."]}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.strong,{children:"Args:"})}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["\u200B",(0,t.jsx)(s.b,{children:"val"})," (",(0,t.jsx)(s.a,{href:"../../../../../docs/std/builtin/bool/Bool",children:(0,t.jsx)(s.code,{children:"Bool"})}),"): The input value which is likely to be ",(0,t.jsx)(s.code,{children:"False"})," most of the time."]}),"\n"]}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.a,{href:"../../../../../docs/std/builtin/bool/Bool",children:(0,t.jsx)(s.code,{children:"Bool"})}),": The input value."]}),"\n"]}),"\n"]})}function u(e={}){let{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},28453(e,s,i){i.d(s,{R:()=>l,x:()=>r});var n=i(96540);let t={},o=n.createContext(t);function l(e){let s=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function r(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),n.createElement(o.Provider,{value:s},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.