<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Gayathri,<div class=""><br class=""></div><div class="">The first entry in that table is the “canonical fixed width type”. We want char to be 8 bits, so we use the SInt8 there. If you look at the places where we use the canonical type it expects it to be one of a more limited set of values.</div><div class=""><br class=""></div><div class="">- Tony</div><div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Oct 27, 2016, at 3:26 AM, Gayathri Bhaskaran via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><p class=""><font size="4" color="#2F2F2F" face="Helvetica" class="">Hello</font><br class=""><br class=""><font size="4" color="#2F2F2F" face="Helvetica" class="">As per </font><a href="https://github.com/apple/swift-corelibs-foundation/blob/master/CoreFoundation/NumberDate.subproj/CFNumber.c#L432" class=""><font size="4" color="#BFBF00" face="Helvetica" class="">https://github.com/apple/swift-corelibs-foundation/blob/master/CoreFoundation/NumberDate.subproj/CFNumber.c#L432</font></a><br class=""><br class=""><font size="4" color="#2F2F2F" face="Helvetica" class="">It is observed that kCFNumberCharType  is mapped to kCFNumberSInt8Type. Is there any reason why kCFNumberCharType  is mapped to kCFNumberSInt8Type ?</font><br class=""><br class=""><font size="4" color="#2F2F2F" face="Helvetica" class="">Does it make sense to map kCFNumberCharType to kCFNumberCharType itself ? Any inputs on this is appreciated. </font><br class=""><br class=""><br class=""><font size="4" color="#2F2F2F" face="Helvetica" class="">Regards</font><br class=""><font size="4" color="#2F2F2F" face="Helvetica" class="">Gayathri Bhaskaran</font><br class=""><br class=""><br class="">
</p></div>
_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>