Thanks! Patrick fixed this in 153146.
On Mar 20, 2012, at 3:02 PM, Jean-Daniel Dupas <[email protected]> wrote:
> Hi,
>
> In the new objc literal documentation, there is:
>
> NSDictionary *masses = @{ @"H" : @1.0078, @"He" : @4.0026, @"O" : @15.9990,
> @"C" : @12.0096 };
>
> is equivalent to :
>
> id keys[] = { @"H", @"He", @"O", @"C" };
> id values[] = { [NSNumber numberWithFloat:1.0078], [NSNumber
> numberWithFloat:4.0026],
> [NSNumber numberWithFloat:15.9990], [NSNumber
> numberWithFloat:12.0096] };
>
>
> Shouldn't it be numberWithDouble instead of numberWithFloat ?
>
> -- Jean-Daniel
>
>
>
> <literal.patch>_______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits